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

# API Credentials

> Create, manage and safely store your Argil's credentials

<Info>
  `Prerequisite` You should have access to Argil's app with a paid plan to
  complete this step.
</Info>

<Steps>
  <Step title="Go to the API integration page from the app">
    Manage your API keys by clicking [here](https://app.argil.ai/developers) or
    directly from the app's sidebar.
  </Step>

  <Step title="Create your API Key">
    From the UI, click on `New API key` and follow the process.

    <Frame>
      <img src="https://mintcdn.com/argil/BBUki6oAamfarwsT/images/api-key.png?fit=max&auto=format&n=BBUki6oAamfarwsT&q=85&s=9b2425b5bb6269a0f906860fa26fe4aa" style={{ borderRadius: "0.5rem" }} width="1576" height="419" data-path="images/api-key.png" />
    </Frame>
  </Step>

  <Step title="Use it in your request headers">
    Authenticate your requests by including your API key in the `x-api-key`
    header. \`\`\`http x-api-key: YOUR\_API\_KEY. \`\`\`\`
  </Step>

  <Step title="Implementing Best Practices for Storage and API Key Usage">
    It is essential to adhere to best practices regarding the storage and usage
    of your API key. This information is sensitive and crucial for maintaining
    the security of your services.

    <Tip>
      If any doubt about the corruption of your key, delete it and create a new
      one.
    </Tip>

    <Warning>
      Don't share your credentials with anyone. This API key enables video
      generation featuring your avatar, which may occur without your explicit
      authorization.
    </Warning>

    <Warning>Please note that Argil cannot be held responsible for any misuse of this functionality. Always ensure that your API key is handled securely to prevent unauthorized access.</Warning>
  </Step>
</Steps>

## Troubleshooting

Here's how to solve some common problems when working around your credentials setup.

<AccordionGroup>
  <Accordion title="Having troubles with your credentials setup?">
    Let us assist by [Mail](mailto:brivael@argil.ai) or
    [Discord](https://discord.gg/Xy5NEqUv).
  </Accordion>
</AccordionGroup>
