> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Generate an API Key ## Article: Generate an API Key for Admins ## Article Link: https://dev.wix.com/docs/api-reference/articles/authentication/api-keys/generate-an-api-key.md ## Article Content: # Generate an API Key Generate an [API key](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/about-authentication.md) to grant [admin access](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/about-admin-operations.md) to your Wix account and site data. To generate an API key: 1. Go to the [API Keys Manager](https://manage.wix.com/account/api-keys) to enable an authorized external client to access and manage data belonging to your Wix account, its projects and sites. You can assign a set of permissions that determine the types of APIs each key can access.
**Important:** Make sure to store your API keys securely and use them only in server-side code.2. Retrieve a Site ID or Account ID When using an API Key authentication strategy you need to provide either a Site ID, your Account ID, or both. - You can extract a Site ID from the URL in your browser when accessing the project or site dashboard. The site ID appears after **/dashboard/** in the URL. - You can retrieve your Account ID from the [API Keys Manager](https://manage.wix.com/account/api-keys) in your account settings. ## See also - [About Authentication](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/about-authentication.md) - [About Admin Operations](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/about-admin-operations.md) - [Make REST API Calls with an API Key](https://dev.wix.com/docs/go-headless/develop-your-project/authentication/admin-operations/make-rest-api-calls-with-an-api-key.md) - [Create a JavaScript SDK Client with an API Key](https://dev.wix.com/docs/go-headless/develop-your-project/authentication/admin-operations/create-a-client-with-an-api-key.md)