Skip to content

Set up AI: provider, allowance and API keys

A Jira admin sets up AI once for the whole site. Go to Settings (cog) > Apps > AssertThat BDD and open the AI tab.

The AI tab: Enable AI, AI provider and API keys

Turn on Enable admin AI for this site.

Under AI provider, choose where AI requests run, then select Save provider:

  • Atlassian Forge LLM (Claude) (recommended). AI runs on Claude models hosted by Atlassian. No API key is needed, and no third-party AI provider receives your data. On the Standard edition this includes a monthly AI allowance; on Advanced it’s unlimited.
  • Your own API key. AI runs on your own OpenAI, Claude (Anthropic) or Azure OpenAI account, which bills you directly. AssertThat sets no limit. Add the key under API keys (below).

If the page asks a site admin to approve the app update, do that first in Settings > Apps > Manage apps > AssertThat BDD: Forge LLM needs the latest version of the app.

Each project that should use AI needs Generate AI scenarios turned on in Space settings > Apps > AssertThat BDD. See AssertThat configuration.

The AI tab shows what the site has used each month.

On the Standard edition with Atlassian Forge LLM, an allowance meter shows how much of this month’s AI allowance is used and when it renews (the 1st of each month, UTC). When the allowance runs out, new AI requests wait until it renews; a request already running is allowed to finish. To keep going, switch to your own API key or upgrade to Advanced, where AI on Forge LLM is unlimited.

Under API keys, select Add API Key and fill in the fields for your provider. Keys are stored in Jira’s secret storage and are never shown again.

  1. Name: a name for the key. Provider: OpenAI. API Key: your OpenAI key.
  2. Select Validate. When the key is accepted, choose the Model and select Add.

Adding an OpenAI API key

  1. Name, Provider: Claude, API Version (see Anthropic’s API versions) and API Key.
  2. Select Validate, choose the Model and select Add.

Adding a Claude API key

  1. Name, Provider: Azure OpenAI, Deployment Name, API Version, Endpoint (your Azure OpenAI endpoint URL) and API Key.
  2. Select Validate, then Add.

Adding an Azure OpenAI API key