# 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="/files/kKyV3Zu7dvHimic4xK3C" 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="/files/qsDcIlvOorkbIxlrVXN0" 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="/files/5W8nEf3v70mHr1UjZyeO" 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](/flow-connect/working-with-connect/create-and-design/automations/functionality.md) page.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.novacura.com/flow-connect/working-with-connect/create-and-design/automations/creating-access-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
