How to create an API key
Navigate to the settings page on your admin panel & click "Create Public API Key"
![](https://storage.crisp.chat/users/helpdesk/website/2d173a8eaad04e00/getpercs-api-key-step-2_1n356zb.png)
Click the "Name" text field. This is the name for the website you will use to display your campaign on.
![](https://storage.crisp.chat/users/helpdesk/website/2d173a8eaad04e00/getpercs-api-key-step-3_184phj6.png)
Add the url you want to display your campaign on & click create. Note: Make sure there is not a "/" at the end of your domain url.
![](https://storage.crisp.chat/users/helpdesk/website/2d173a8eaad04e00/getpercs-api-key-step-5_lqoxds.png)
Click create again
![](https://storage.crisp.chat/users/helpdesk/website/2d173a8eaad04e00/create-public-api-key-step-19_18aqr45.png)
Copy your API key and add it to your code snippet when you're embedding your campaign on your website.
![](https://storage.crisp.chat/users/helpdesk/website/2d173a8eaad04e00/getpercs-api-key-step-20_pod63n.png)
![](https://storage.crisp.chat/users/helpdesk/website/2d173a8eaad04e00/getpercs-api-key-step-2_1n356zb.png)
Click the "Name" text field. This is the name for the website you will use to display your campaign on.
![](https://storage.crisp.chat/users/helpdesk/website/2d173a8eaad04e00/getpercs-api-key-step-3_184phj6.png)
Add the url you want to display your campaign on & click create. Note: Make sure there is not a "/" at the end of your domain url.
![](https://storage.crisp.chat/users/helpdesk/website/2d173a8eaad04e00/getpercs-api-key-step-5_lqoxds.png)
Click create again
![](https://storage.crisp.chat/users/helpdesk/website/2d173a8eaad04e00/create-public-api-key-step-19_18aqr45.png)
Copy your API key and add it to your code snippet when you're embedding your campaign on your website.
![](https://storage.crisp.chat/users/helpdesk/website/2d173a8eaad04e00/getpercs-api-key-step-20_pod63n.png)
Updated on: 29/01/2024
Thank you!