Skip to content

Use Shakespeare with the Gateway

Shakespeare is an open-source AI website and app builder that runs in your browser (source). Your browser talks to the AI provider directly, so you can point it at the Gateway and keep requests in your region.

Prerequisites

Connect Shakespeare to the Gateway

  1. In Shakespeare, open Settings → AI
  2. Click Add Custom Provider and fill in:
Field Value
Name Gateway
ID gateway
Base URL https://llm.[your-region].amazee.ai/v1
Authentication API key
API Key Your LLM API key

Replace [your-region] with your region code (e.g. ch103, us103).

  1. Save, then pick a Gateway model when you start a project. Shakespeare uses tool calls to build apps, so pick a strong tool-calling model such as claude-4-5-sonnet. See Available Models.

Leave Use CORS Proxy off. The Gateway accepts requests straight from your browser, and a proxy would send your prompts through a third party.

Your key is stored in your browser only.

Verify

Start a project and send a prompt. Check the My usage card on the AI keys page to confirm requests appear.

Troubleshooting

Auth errors
Re-enter the key in the Gateway provider under Settings → AI. Check the key's region matches the Base URL.
Model not found
Use the exact model ID from Available Models.
Network or CORS errors
Check the Base URL ends in /v1 and uses your region code. Don't turn on the CORS proxy as a fix. Contact support instead.