> ## Documentation Index
> Fetch the complete documentation index at: https://docs.costa.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Use your OpenAI API key

If you don't have a Codex subscription, you can use your own OpenAI API key instead. Add it once in your Costa dashboard and Codex will route through it.

1. Go to [**AI Providers**](https://ai.costa.app/admin/ai_providers) in your Costa dashboard.
2. Find the **OpenAI** row and open the **⋮** menu.
3. Click **Edit token** and paste your OpenAI API key.

That's it.

<Card title="Setup Codex" icon="square-terminal" href="/get-started/codex" horizontal>
  Continue.
</Card>

<sub>Using a different provider? See [Providers →](/byok).</sub>
