> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.dorik.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Generating Public API Keys


# Getting Started

In this documentation, you will learn only how to generate **Public API Keys in Dorik CMS**.

Basically, Dorik’s ** "API Keys’" ** feature allows users to connect with other applications (e.g. Zapier, Pabbly, Make, etc.) on the web from where users can maintain their resources without coming back to their Dorik website. The endpoints created can allow any authenticated user/platform to perform create, read, update, and delete (CRUD) actions.

However, for now, Public API Key can be used to fetch data from your **CMS collections, collection items, and collection fields** as a beta service.
---

# How to Generate Public API Keys in Dorik CMS

Follow the steps below accordingly to learn how to create Public API keys —

- Go to  **CMS Dashboard**
- Click on  **Advanced** **Configurations**
- Go to  **API Keys**
- Click on ** `+ Generate Key` ** to generate a new API Key
- Give a name under the Key name field and click on ** `Generate` **
- And your API key is generated
- **Copy** the API Key and use it (The generated API Key will only be available once)

The **GIF** below shows the whole process being demonstrated visually ⬇️

1. Go to CMS **Dashboard** & click on **Advanced Configurations**

![CMS Advance Configuration](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screen-shot-2025-02-26-at-5302_hs8u2z.png)

2. Go to API Keys & click on it

![API Keys](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screen-shot-2025-02-26-at-5353_17rw2rj.png)

3. Click on ** `+ Generate Key` ** to generate a new API Key

![Generate Key](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screen-shot-2025-02-26-at-5362_w6svr9.png)

4. Give a name under the Key name field and click on ** `Generate` **

![Set Name for The API Key](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screen-shot-2025-02-26-at-5371_b7u662.png)

5. Here is your Public API key under Your Key field. You can now copy and use it.

![Copy the Generated API Key](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screen-shot-2025-02-26-at-5390_1gtuqv2.png)

|| 💡 After copying the API key, you can Paste it on the  **`request header`** of your third-party platforms. By the way, the generated API Key will only be available once. But you can generate a new API key. And to do this, you need just to delete the previous one and follow the above-mentioned steps.

**To see the whole process of Generating API key at a glance, refer to the GIF below —**

![Generating an API on Dorik CMS](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/gif-recording-2025-02-26-at-54_1wupf2p.gif) 
---

# Related Article

To know more details about Public API keys, read the developer documentation given below —

[Generate API Keys | dorik-api](https://dorik.stoplight.io/docs/dorik-api/l863z09es5t2g-getting-started)