Skip to content
Spaka
Download

Guides · 2 of 11

Connect your AI

Connect your Claude, ChatGPT, OpenAI, Gemini or Vertex AI account so that Spaka's agent can build your websites and apps.

Spaka’s agent runs on your own AI account, the one you already pay for or the key you create. Spaka itself charges nothing for it: your plan’s limits apply, or your provider bills the API key.

  • Claude: your Claude plan, your Claude Console account, or a Claude API key.
  • ChatGPT: your ChatGPT Plus or Pro plan.
  • OpenAI: an API key from the OpenAI platform.
  • Gemini: an API key from Google AI Studio.
  • Vertex AI: a key of Vertex AI’s express mode, or the Google Cloud sign-in made on your computer with gcloud.

You can connect several, and each website or app keeps its own model.

While no account is connected, the start screen shows Connect an account above the message box:

  1. Click Sign in with Claude to use your Claude plan, Sign in with ChatGPT to use your ChatGPT plan, or Sign in with the Claude Console to use a Claude Console account.
  2. The provider’s own sign-in page opens in your browser. Sign in there, then come back to Spaka. Meanwhile Spaka shows Finish signing in in your browser… and Cancel; for Claude, also Open the sign-in page, in case you closed it.

To use an API key instead:

  1. Click Use an API key.
  2. Paste the key. Spaka picks its account (Claude, OpenAI or Gemini) from how the key starts; change it in the list if needed.
  3. Click Save. The key is kept encrypted on this computer.

Spaka never sees your password. If you already use Claude elsewhere on this computer, you still sign in once inside Spaka: the agent keeps its own sign-in and conversations, and starts with none of your own Claude settings, skills or connectors.

Connect or change accounts in the settings

Section titled “Connect or change accounts in the settings”

Open the settings (the Settings button at the foot of the sidebar, or ⌘, on a Mac and Ctrl+, on Windows) and choose Accounts:

  • Claude: Sign in… for your Claude plan, or Claude API key with Use a key….
  • ChatGPT: Sign in…, then Sign out to disconnect it.
  • API keys: OpenAI API key and Gemini API key, each with Use a key…. Remove forgets a key.
  • Google Vertex AI, in one of two ways:
    • Express mode key: Use a key…, then paste a key of Vertex AI’s express mode, which Google gives to Gmail accounts.
    • Google Cloud with gcloud, for an organization that refuses keys: in a terminal, run gcloud auth application-default login. Then click Use a project…, enter your Google Cloud project’s ID, and save.

Below the field where you type, the message box has three selectors: the model, the effort, and Build or Plan, which the start screen leaves out when you start from a template (see Describe a website or app from scratch).

  • The model selector lists the models of the accounts you connected, grouped by account. Its last item, Connect another account…, opens the Accounts page.
  • The effort is how much the agent thinks before it acts: Low, Medium, High, and for some models Extra high and Max. More effort is more careful, and slower.

Each website or app keeps its own model and effort, and you can change them at any moment of the conversation. The ones a new website or app starts with are set in Settings › Accounts › For new websites and apps.

If you move a website or app from a Claude model to another provider’s, or back, the new agent starts with a summary of the conversation, and reads its files. Between two models of the other providers, the conversation simply goes on.

Also under For new websites and apps:

  • Model for names: a small model names each new website or app from your description. Automatic takes the small model of its account.
  • Model for images: the agent can generate images when a Gemini, Vertex AI or OpenAI account is connected, whatever model builds your website or app. Your provider charges you for each image. A ChatGPT plan or a Claude account does not generate images: without a Gemini, Vertex AI or OpenAI account, the agent uses openly licensed photos only.

If a key is refused or a sign-in has ended, the conversation says so: “Spaka is not signed in to Claude yet. Sign in to continue.” for Claude, “The model of this website or app could not reach its account” for the other providers. Connect it again in Settings › Accounts, then send your message again. For Vertex AI through gcloud, the message asks you to run gcloud auth application-default login again.

Next: start from a template or describe a website or app from scratch.