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

# Adding AI provider keys

> Add an Anthropic, OpenAI, or OpenRouter key so supported chats run on your provider account without using Chief credits.

Organization Owners can add provider keys so chats using that provider run against the Organization's own account and do not spend Chief credits.

## Add a provider key

1. Open [**Organization settings**](/help/organization-administration/organization-settings-overview) and select **AI Providers**.
2. Click **Add key**.
3. Choose **Anthropic**, **OpenAI**, or **OpenRouter**.
4. Enter a **Name** that identifies the key and paste the **API key**.
5. Click **Add key**. Chief verifies the key with the provider before saving it.

Chief only shows the last few characters after saving. A valid entry displays **Active**. A key the provider rejects displays **Rejected**.

## Test or remove a key

Click **Test** beside a saved key to verify it again. Click **Remove** and confirm to delete it. Chats on that provider then return to Chief's keys and resume using [Chief credits](/help/plans-credits-billing/how-credits-work).

<Warning>
  ⚠️ **Important:** Treat provider keys like passwords. Only paste them into **Organization → AI Providers**, and remove a key immediately if you believe it was exposed.
</Warning>

## FAQ

<AccordionGroup>
  <Accordion title="A task says &#x22;The AI provider rejected your API key.&#x22; What should I do?">
    Ask an Organization Owner to open **Organization → AI Providers**. The task's [error card](/help/chatting-with-chief/understanding-task-error-cards-retry-actions) does not open settings for you. The Owner should find the key marked **Rejected** and select **Test**. If the provider continues to reject it, remove the key and add a valid replacement. Removing it returns tasks on that provider to Chief's keys and [Chief credits](/help/plans-credits-billing/how-credits-work).
  </Accordion>

  <Accordion title="Does adding one key move every chat to that provider?">
    No. Chats using a provider with an Organization key run on that account. Other providers continue using Chief's keys. You still choose models through the [AI Provider and Intelligence controls](/help/the-prompt-bar-scope/selecting-a-specific-model-llm).
  </Accordion>

  <Accordion title="Who can manage provider keys?">
    Organization Owners can add, test, and remove keys. Other roles do not have access to the Organization's provider secrets.
  </Accordion>

  <Accordion title="Does a provider key affect Project membership?">
    No. [Organization and Project roles](/help/organization-administration/managing-members-roles-at-the-org-level) still determine who can use each Project.
  </Accordion>
</AccordionGroup>
