Publishing
Pages that use AI
Connecting your own Anthropic API key so quizzes, chatbots, and other Claude-powered pages work for visitors after publishing.
Built a quiz, chatbot, or tool that talks to Claude? It goes quiet once published, because it has no way to reach Claude. Connect your own Anthropic API key once and every page like it starts working.
You pay Anthropic directly for whatever your pages use, on your own account. PageSumo doesn't charge for it or mark it up.
Connect your key
- Get a key from Anthropic at
console.anthropic.com(there's a link in the card). This is separate from a Claude subscription: create a free developer account there, add a payment method, and create a key. Anthropic keys start withsk-ant-. - In the dashboard, open Settings and scroll to the AI pages card.
- Paste the key and click Connect key.
How to tell it worked: the card shows your key's last four characters and when it was last used. PageSumo validates the key with Anthropic before saving, so a typo or revoked key is caught right here.
One key covers every page on your account, and you can connect it before or after publishing. A page that calls Claude starts working the moment the key is connected, with no change to the page.
Your key is not in your page
Every Claude call from your page goes through PageSumo's server, which adds your key on the way past. The key is never written into your page's code and never reaches a visitor's browser, so nobody can find it by viewing the page source. It's stored encrypted.
Calls also only work from your own addresses: your PageSumo subdomain and any custom domains you've connected. Someone who copies your page elsewhere can't spend against your key.
Limits that protect your bill
- Each visitor gets a set number of AI calls per hour on a page.
- Each page has a daily total across all visitors.
- The length of a single Claude response is capped, so one request can't run up an enormous answer.
Hit the hourly limit and the visitor is asked to slow down and try shortly. Hit the daily total and visitors are told the page has reached its daily AI limit. Your page stays live either way; only the AI calls pause.
Remove your key
In Settings, on the AI pages card, click Remove and confirm. Pages that call Claude stop working for visitors until you connect a key again. The pages themselves stay live.
Common questions
Visitors say the AI features don't work. If no key is connected, the page answers AI requests with a message saying the owner hasn't added an Anthropic API key. Connect yours in Settings and the page starts working with no change needed.
It worked in the artifact preview but not published. Inside Claude, an artifact can use Anthropic's API more freely. Published, calls go through PageSumo, which supports the standard way of sending messages to Claude and caps how long one response can be. If your page uses another part of Anthropic's API, or needs very long responses, that part won't work. Ask Claude to rebuild the feature using ordinary Claude messages.
There's a warning on the page's Overview. The page calls Claude and no key is saved. The same warning appears when you publish from Claude. Adding your key clears it.
My key wasn't accepted.
Check you pasted the whole thing and it starts with sk-ant-. If Anthropic rejects it, it may have been revoked; create a fresh one and paste that.
Visitors see "too many requests". That's the caps working. The hourly limit is per visitor and resets on its own; the daily one is per page and resets tomorrow.
I don't see the AI pages card in Settings. This is a plan feature. If the card isn't shown, it isn't included in your current plan.