# Getting an Managing API Key and API Secret

## 1. Introduction

API key and API Secret are used to authenticate requests to the Axonius API.

## 2. Prerequisites

- Access to Axonius Platform.


## 3. Getting an API Key and API Secret

### Step 1: Access Axonius Platform Console

- Login in to Axonius with a user account or service account whose role has the **API access enabled** permission.


### Step 2: Navigate to API Key option

- At the bottom of the navigattion toolbar, click on your account avatar.


### Step 3: Copy API Key and API Secret

- Click **User Settings** and then click the **API Key** tab.
- Copy the existing API Key and Secret.


## 4. Configure the integration

**URL**

There are two options of Axonius URL

- If you have local installation: the url might be something like `gui.axonius.local` or an internal IP address specific to your network if using local hosting.
- If you use cloud: the address in your browser when logged into the Axonius web interface, something like `https://<yourdomain>.com`


**Username**

This is the API Key you get in the previous steps.

**Secret**

This is the API Secret you get in the previous steps.

## Links in Axonius Documentation

- [Getting an API Key and API Secret](https://docs.axonius.com/docs/axonius-rest-api)
- [Managing Service Accounts](https://docs.axonius.com/docs/manage-service-accounts)