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

# Create API Keys

> This page shows you how to use Hamsa Dashboard to create new API keys.

 
 

<Card title="Authentication" icon="unlock-keyhole" href="/overview/auth">
  <br />

  Click here to return to the Authentication page if you haven't crated an account yet.
</Card>

## Create an API Key

Once you logged in, please select the <b>Create API Key</b> button on the <b>Dashboard</b> page, or you can choose
<b>API keys</b> tab and then choose <b>Create API Key</b> button as illustrated in the images below.

<img src="https://mintcdn.com/hamsa-452fa79a/B5KuRhzUCER4_1Wi/images/create-api-key-home.png?fit=max&auto=format&n=B5KuRhzUCER4_1Wi&q=85&s=5473d02262317a1e66b5a70322bca315" alt="Create API key from dashboard page" width="1920" height="974" data-path="images/create-api-key-home.png" />

<img src="https://mintcdn.com/hamsa-452fa79a/B5KuRhzUCER4_1Wi/images/create-api-key-api-key-page.png?fit=max&auto=format&n=B5KuRhzUCER4_1Wi&q=85&s=82d1c9580b6334f8a98835cd900ecbec" alt="Create API key from API key page" width="1891" height="295" data-path="images/create-api-key-api-key-page.png" />

Once you hit that button, a pop up will appear where you have two options:
<li>First, you can set an <b>API Key Name</b> and <b>Expiry Date</b></li>
<li>Second, you can set an <b>API Key Name</b> with <b>No Expiry Date</b></li>

<img src="https://mintcdn.com/hamsa-452fa79a/B5KuRhzUCER4_1Wi/images/create-api-key-pop-up.png?fit=max&auto=format&n=B5KuRhzUCER4_1Wi&q=85&s=caf481d0db9ce4eb093e6da800f103d5" alt="Create API key pop up" width="1917" height="973" data-path="images/create-api-key-pop-up.png" />

After creating the API key, You can now copy the API Key Identifier from Hamsa Dashboard and use it in the routes!

<Note>
  Some API endpoints also require a **Project ID**. You can copy your Project ID from the project switcher in the top navigation bar of the dashboard. See [Projects Overview](/overview/projects/overview#finding-your-project-id) for details.
</Note>

<img src="https://mintcdn.com/hamsa-452fa79a/B5KuRhzUCER4_1Wi/images/copy-api-key.png?fit=max&auto=format&n=B5KuRhzUCER4_1Wi&q=85&s=c5aa788e0fcf643b4579ea6bdeb9977a" alt="Copy API kye" width="1917" height="973" data-path="images/copy-api-key.png" />

<br />

<br />

### *Happy Coding!*
