#### Note: The Threat Vault API key is the same as the Auto Focus API key. ## Get Your API Key To get your API key, you need to add an authorization code, and then activate the API. ### Add your authorization code 1. Go to the [Palo Alto Networks support site](https://support.paloaltonetworks.com). 2. From the left-side navigation menu, select **Assets > Site Licenses**. 3. Click the **Add Site License** button. 4. Enter the authorization code. ### Activate the API 1. From the **Site Licenses** page, click **Enable**. 2. Select the **API Key** link. Enter this API key when configuring the AutoFocus integration in Cortex XSOAR. For more info on activating the license, see [Activating AutoFocus Licenses](https://docs.paloaltonetworks.com/autofocus/autofocus-admin/get-started-with-autofocus/activate-autofocus-licenses.html).