Skip to content
SubstyHelp center
API docs Open Substy
Getting startedAI & automationMessages & scriptsTeamWorkspaceBilling & earnings
AI & automation
AI & automation
Overview
How AI Chatter negotiates PPV pricesHow AI Chatter uses conversation memoryCustomize AI Chatter behaviorCompare AI Chatter modesFix AI Chatter when it is not replyingAdd media context to a script templateWhat AI Chatter can doComplete creator information for AI ChatterManage banned keywordsConfigure Hybrid Mode and stop conditionsSet script rotation timingHow AI Chatter follows platform guidelinesChoose and manage an AI personaShare AI issue details with supportTest a conversation in AI PlaygroundSell and deliver customs
Use the Ask AI side panel on any pageConnect your agency's AI provider keys in AI GatewayConnect Substy to Claude, ChatGPT or Claude Code (MCP)What Substy Intelligence can do
Use the Content calendarCreate an automationOnline Message automation availabilityBuild an automation message sequenceChoose an automation audienceSend Telegram alerts from an automationFollow back expired fans automaticallyImport an automation from another creator or by IDSchedule recurring mass messages with an automationKeep an OnlyFans promotion running with auto promos
Help centerIntelligence

Connect your agency's AI provider keys in AI Gateway

Open in ChatGPTAsk questions about this pageOpen in ClaudeAsk questions about this page

How to add, check, replace and remove your agency's own AI provider keys in AI Gateway, and what they are used for.

4 min readUpdated November 27, 2026

AI Gateway is where your agency keeps its own API keys for AI providers. A key is connected once for the whole agency and is used for every creator.

What a connected key changes

  • Custom chat translators run on your agency's key. You can only create or pick a custom translator on the Translation page while the key is connected.
  • Whatever runs on your key is billed by the provider to your own account with them, not by Substy.
  • Nothing else changes. The AI Chatter and Substy's own translators keep working as before, with or without a key.

Before you start

You needWhy
The View AI Gateway permissionTo open the page and see the keys and their status.
The Manage AI Gateway permissionTo connect, check, replace or remove a key.
Access to every creator of the agencyA key serves all creators, so changing one needs access to all of them. Otherwise you see "Changing the agency's AI keys needs access to every creator".
An account with the AI providerYou create the key there.

If your role can only view, the page says "Your role can see the keys but not change them". If your role has no access, it says "Your role does not include the AI Gateway. Ask your agency owner for access". Roles are set up in Create and assign custom roles.

Open AI Gateway

In the sidebar, open AI and select AI Gateway (or go to app.substy.ai/ai-gateway).

The table lists the AI providers available to your agency, one per row:

ColumnShows
ProviderThe provider's name and what it is used for.
StatusThe result of the latest check (see below).
KeyThe last four characters of the key. The full key is never shown again.
CheckedWhen the key was last checked.

Connect a key

  1. On the provider's row, select Connect.
  2. In the dialog, select Open followed by the provider's name. The provider's key page opens in a new tab.
  3. Create a key there and copy it.
  4. Back in Substy, paste it under Paste it here.
  5. Select Connect.

The provider checks the key before Substy keeps it. When it is accepted, you see a confirmation ending in "connected". If the provider refuses the key, nothing is saved and the dialog shows the reason, for example "rejected this key. Check it and try again."

You can also connect the key from the Translation page when you create a custom translator: the same dialog opens there.

Key status

StatusMeaningWhat to do
ConnectedThe provider accepted the key at its last check.Nothing.
Key refusedThe provider refused the key at its last check.Create a new key with the provider and use Replace key.
Not checkedThe provider could not be reached or gave no clear answer. The key is kept.Try Check again later.
Not connectedNo key yet.Select Connect.

When the status is not Connected, the provider's message appears under it.

Check, replace or remove a key

Open the row's actions menu:

ActionWhat it does
Check againAsks the provider to check the saved key now and updates Status and Checked.
Replace keyOpens Replace the … key. Paste the new key and select Replace key. The new key replaces the old one.
Remove keyAsks you to confirm. What runs on the key stops until a new key is connected, custom chat translators included.

Troubleshooting

MessageFix
"A key is at least 8 characters"The pasted text is too short. Copy the whole key again.
"… rejected this key. Check it and try again."The key is wrong, revoked or expired. Create a new one with the provider.
"Changing the agency's AI keys needs access to every creator"Ask your agency owner to give your role access to every creator.
No Connect buttonYour role can only view the AI Gateway.

Related articles

Use the Ask AI side panel on any pageConnect Substy to Claude, ChatGPT or Claude Code (MCP)What Substy Intelligence can do

Still need help? Open Substy and contact support.

On this page

What a connected key changesBefore you startOpen AI GatewayConnect a keyKey statusCheck, replace or remove a keyTroubleshooting

Ask AI

Answers from the Substy help center, with sources.

What would you like help with?

Answers from the Substy help center, with sources.