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

# Go live

> Prepare your app to connect real customer accounts.

After your app works with a [Test account](https://docs.ofauth.com/v3/setup/sandbox.md), set up Live to let customers link their accounts.

## Prepare your app

Before inviting customers, check these parts of your integration:

* **Sign-in:** Use `state` and PKCE to protect the approval flow. Handle declined access. Keep secrets on your server. See [Authorize](https://docs.ofauth.com/v3/api-reference/link/authorize.md).
* **Tokens:** Save tokens with the user and authorization ID they belong to. Record whether they are for Sandbox, Test, or Live. Save each new refresh token before the next refresh. See [Tokens](https://docs.ofauth.com/v3/api-reference/link/tokens.md).
* **Account changes:** Let users choose from all shared accounts. Handle removed accounts and expired OnlyFans sessions. See [Linked accounts](https://docs.ofauth.com/v3/guides/linked-accounts.md).
* **Requests and events:** Wait when you hit request limits. Check whether a change succeeded before sending it again. For webhooks, check signatures and avoid acting twice on the same event. See [Error handling](https://docs.ofauth.com/v3/reference/error-handling.md) and [Webhooks](https://docs.ofauth.com/v3/api-reference/webhooks.md).

Add [browser OAuth](https://docs.ofauth.com/v3/guides/link.md) with your registered HTTPS callback URL. Use secure cookies. Save browser sessions in a store shared by your app instances, and keep tokens in protected server storage.

## Set up Live

1. Activate a Developer plan in the [dashboard](https://app-next.ofauth.com).
2. Complete your [public app details](https://docs.ofauth.com/v3/guides/authorization-branding.md).
3. Request Live approval for your integration.
4. Add your online callback URL in the integration's **Live** settings. Use HTTPS and a domain name.
5. Put the Live client ID and secret in your server settings. Keep Live settings and accounts separate from Sandbox and Test.
6. Update your app's [authorization request](https://docs.ofauth.com/v3/api-reference/link/authorize.md) to use the online callback URL.
7. Confirm the approved integration purpose in the dashboard. OFAuth displays it during Live consent.
8. Use the Live client to ask an owner to approve access.
9. Check that your app can read the intended account's profile.

Sandbox and Test tokens cannot access Live accounts. See [Live requirements](https://docs.ofauth.com/v3/api-reference/environments.md#live) for approval and configuration details.

Once approval and your checks are complete, invite your customers to link their accounts.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.