# Creating Access Key

An Access Key must be provided as part of the HTTP request to allow external triggers of an automation.&#x20;

Access keys can be created from the Access Button on the Application Package.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FNoWjqRU8ZgESi3Pjkb1g%2Fimage.png?alt=media&#x26;token=eace17fc-82d7-4651-bece-a56c32dbe0b6" alt="" width="375"><figcaption></figcaption></figure>

Existing access keys are displayed within the dialog, showing the:

* Access Key name
* The first four characters of the Access Key for reference
* Key creation date
* Key expiry date
* Valid Environment

{% hint style="info" %}
Access keys are environment-specific. A key cannot span multiple environments.&#x20;
{% endhint %}

Selecting + Grant Access and selecting the Access Key tab will allow the creation of a new access key.

{% hint style="info" %}
You can revoke and delete Access Keys from the context menu on each key.
{% endhint %}

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FyCnG969xrcDIE4vZDbcm%2Fimage.png?alt=media&#x26;token=066332a7-8291-45ca-b622-a22763b59663" alt="" width="375"><figcaption></figcaption></figure>

Selecting + Generate Key will create a prompt where you can define the scope and details of the Access Key.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FtRaTZw05a2KdcBjzBqMI%2Fimage.png?alt=media&#x26;token=f424c22c-8480-45c5-a823-90464d12acbf" alt="" width="375"><figcaption></figcaption></figure>

To create a new Access Key:

1. Enter a user-friendly name for your new key
2. Enter an optional description
3. Select the environment for which the key will be valid
4. Select the desired expiration date. (No limit)
5. Select Generate Access Key

{% hint style="warning" %}
You will be presented with an Access Key in a pop-up. This will only be displayed once. Make sure you save this key securely. If a key is lost, you can generate a new key.
{% endhint %}

For instructions on using the Access Key with HTTP requests, please review the [Functionality](https://docs.novacura.com/flow-connect/working-with-connect/create-and-design/automations/functionality) page.
