Publishing

Pages that use AI

Get quizzes, chatbots, and other Claude-powered pages working for your visitors after you publish them.

Built a quiz, chatbot, or tool that talks to Claude? It goes quiet once it's published, because it has no way to reach Claude. To fix that, you get an API key from Anthropic, the company that makes Claude, and connect it to PageSumo once. After that, every page like it works.

An API key is a long private code. It lets your pages use Claude and tells Anthropic whose account to bill.

This is separate from your Claude subscription. A plan like Claude Pro or Max pays for you chatting with Claude. It doesn't pay for what your published pages use. For that, Anthropic has a second site called the Claude Console, where you put a little money in up front and your pages draw from it. PageSumo doesn't charge for this or add anything on top.

Get your key from Anthropic

  1. Go to platform.claude.com and sign in. If you've never been there, it asks you to create an account first. Creating one is free.
  2. Add some credit. Click Settings, then Billing, then Buy credits, and pay for a small amount. A key with no credit behind it won't answer anyone, so don't skip this.
  3. Click Settings, then API keys, then Create key.
  4. Give the key a name you'll recognize, like PageSumo. If it asks who the key is linked to, choose yourself. If you set an expiration date, your pages stop answering on that date until you connect a new key.
  5. Copy the key now. It's a long code that starts with sk-ant- and Anthropic shows it only this once. If you lose it, create another one.

Connect the key in PageSumo

  1. Come back to PageSumo and open your dashboard at app.pagesumo.com.
  2. Click Settings.
  3. Find the section called Interactive AI pages and click it to open it.
  4. Paste your key into the box and click Connect key.

How to tell it worked: the Interactive AI pages section now shows Anthropic as connected, with the last four characters of your key. PageSumo checks the key with Anthropic before saving it, so a typo or a cancelled key is caught right there.

One key covers every page on your account. You can connect it before or after you publish, and a page that talks to Claude starts working the moment the key is connected. You don't need to change or republish 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

Every time one of your pages asks Claude something for a visitor, that's one call, and it's billed to your Anthropic account. Two limits keep a single visitor, or one busy day, from running up your bill:

The length of a single Claude response is also 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.

Change the limits

The starting numbers are careful on purpose. A page people use a lot, like a chatbot, usually needs more: a visitor can send 20 messages in a few minutes.

  1. In the dashboard, open Settings and find the Interactive AI pages card.
  2. Under Visitor limits, type the numbers you want.
  3. Click Save limits.

How to tell it worked: the card says the limits are saved. Your pages use the new numbers right away, with nothing to publish again.

The limits apply to every page on your account. Higher numbers let visitors do more and can cost you more, so raise them in steps and keep an eye on your usage at Anthropic. The card shows the highest number each limit accepts, and the page's daily number can't be lower than the visitor's hourly one.

The Visitor limits section appears once a key is connected. If you remove your key and connect another later, your limits are kept.

Remove your key

In Settings, on the Interactive 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 that you pasted the whole key and that it starts with sk-ant-. If it still isn't accepted, the key may have been cancelled or expired. Create a new one at platform.claude.com and paste that.

My key connected, but the page still doesn't answer. The most common cause is no credit at Anthropic. Sign in at platform.claude.com, check your balance under Settings, then Billing, and buy credits if it's empty. The page starts answering again with no change on the PageSumo side.

Visitors see "too many requests". That's the limits working. The hourly limit is per visitor and resets on its own; the daily one is per page and resets tomorrow. If real visitors are hitting them, raise the numbers under Visitor limits on the Interactive AI pages card in Settings.

I don't see the Interactive AI pages card in Settings. This is a plan feature. If the card isn't shown, it isn't included in your current plan.