> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aitoearn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Publishing flow

A publishing flow connects account authorization, platform-specific options, assets, and publish task creation.

<Info>
  If you do not have an API Key yet, read [Get API Key](/en/use/api-key) first.
</Info>

## Integration order

1. Authorize the target platform account.
2. Query platform publishing options and account-level option values.
3. Upload or prepare the media asset URLs.
4. Call [Create publishing flow](/api-reference/post-api-v2-channels-publish-flows).
5. Use the returned flow ID to query publishing flow details.

If you need to upload local assets first, read [OSS upload](/en/use/oss-upload).

## API references

* [Create publishing flow](/api-reference/post-api-v2-channels-publish-flows)
* [Publishing flow detail](/api-reference/get-api-v2-channels-publish-flows-flow-id)
* [Platform list](/api-reference/get-api-v2-channels-platforms)
