> For the complete documentation index, see [llms.txt](https://docs.divmagic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.divmagic.com/api/getting-started.md).

# Getting started

Follow the step-by-step instructions to start using DivMagic API

### Generating an API Key

To use our API, you need to generate an API key. Follow these steps to create your key:

1. [**Log in**](https://divmagic.com/login) to your account
2. Navigate to the Dashboard
3. On the side menu, click on API section
4.

```
<div align="left">
```

```
<figure><img src="../.gitbook/assets/Screenshot 2024-09-09 at 20.19.18.png" alt="" width="251"><figcaption></figcaption></figure>

</div>
```

5\. Click on "Generate API Key" button

### Get credits

If your API Status is *<mark style="color:red;">Inactive</mark>* or you ran out of credits, you can purchase credits from [**this link**](https://buy.stripe.com/6oEeWScPn1oT1ZS4gw) or click "Get now" button on the API section
