Configuring an AI Provider¶
CodeContext uses an AI provider to analyze code and generate ticket descriptions. You are responsible for providing your own API key from one of the supported providers.
Supported Providers¶
| Provider | Dashboard |
|---|---|
| Anthropic | console.anthropic.com |
| OpenAI | platform.openai.com |
Getting an API Key¶
- Sign up or log in to your chosen provider's dashboard
- Create a new API key
- Copy the key — you'll need it in the next step
Adding the Key to CodeContext¶
You can configure the API key in two ways:
- On demand: The first time you run an analysis without a key configured, CodeContext redirects you to the settings page automatically
- Settings page: Open your Jira project settings > Apps > CodeContext to configure it at any time
On the settings page:
- Select your AI Provider (Anthropic or OpenAI)
- Paste your API Key
- Click Save
Your key is stored securely in Atlassian Storage and never sent to the browser.
Note
The API key is shared across all users in the Jira project. Any project administrator can update or delete it.
Costs¶
API usage is billed directly by your chosen provider. CodeContext does not add any fees on top of the provider's pricing. Monitor your usage through your provider's dashboard.
Next Steps¶
With an AI provider configured, you're ready to start creating tickets with code context.