---
agentTools:
  projectIndex: https://shipyard.readme.io/llms.txt
---

# Authorization

In order to interact with the API, an API key is required.

1. Navigate to your user's **[Settings](https://app.shipyardapp.com/user/settings)** page

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/bffb3bc-image.png",
        null,
        ""
      ],
      "align": "center",
      "border": true
    }
  ]
}
[/block]

2. On the right side of the page, enter a name in the **API key name** text field

3. Click the **Create API Key** button

[block:image]{"images":[{"image":["https://files.readme.io/8fde26b-image.png",null,""],"align":"center","border":true}]}[/block]

4. Copy the generated API key value - ***this is the only time the value will be available***

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/f8ba62a-image.png",
        null,
        ""
      ],
      "align": "center",
      "border": true
    }
  ]
}
[/block]

> ⚠️ CAUTION
>
> Treat all API keys like passwords and do not commit them to code or share them with unauthorized parties

Access for an API key can be revoked by clicking the **Delete** button next to its name in the list.

Include this key in a `X-Shipyard-API-Key` header in requests in order to be properly authorized to invoke the API.