> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.kelp.click/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).

# Keeping your API keys secure

Kelp API keys are scoped, so you can use the right key in the right place.
* **Use the right scope.** Search and events keys are designed to be public and are safe in themes and browser code. Never put an admin or ingest key in a theme, a browser bundle or a public repository.
* **Do not commit keys.** Load them from environment variables or server config, for example `KELP_API_KEY`, `VITE_KELP_API_KEY` or `PUBLIC_KELP_API_KEY`.
* **Want the key off your storefront?** Proxy requests through your own server, or a Shopify app proxy, that adds the key server-side.
* **If a key leaks,** rotate it in the Kelp tenant dashboard straight away.
* **Never share admin or ingest keys** in chat or email, including with Kelp support.
More: [Get your keys](https://docs.kelp.click/get-your-keys)