# get Api key

{% hint style="info" %}
**Hint:** Secure your API key for authentication!
{% endhint %}

## How to get my API key

API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.

You can generate an API key from your Dashboard at any time. To achieve this, simply follow these steps:

1. [Sign in](https://nebulox.io/app/user/login) to your account. If you haven't registered yet, go ahead and [sign up ](https://nebulox.io/app/user/register)today.

2. Navigate to the Gateway section using the left sidebar.

3. On your dashboard, go to the gateway section located in the side menu. Click on the "Create Gateway" button to create your first gateway.<br>

4. Complete basic inputs, including: - [Business Name](#user-content-fn-1)[^1] - [Payment Expiration Time](#user-content-fn-2)[^2] -[ Website URL](#user-content-fn-3)[^3] - [Webhook URL](#user-content-fn-4)[^4] - [upload a Business Logo file](#user-content-fn-5)[^5].<br>

5. In the end, click the "Create Gateway" button. Congratulations! Your first gateway is set up. Copy the generated API key and keep it safe.&#x20;

{% hint style="warning" %}
Copy and securely save this API key. Note that once saved, you won't have access to it again. In case of loss, you can regenerate a new API key.
{% endhint %}

## Summary

Setting up your Webhook URL is crucial to receiving instant notifications about transactions through Nebulox. Ensure that your Webhook URL is configured accurately within Nebulox settings to seamlessly stay informed about any new activities related to your provided address. For further integration using the API, navigate to the Webhook URL page for comprehensive instructions and guidelines.

{% content-ref url="/pages/pqrBPj1DDnqpy8XLPvmg" %}
[Webhook Setup Guide](/reference/api-reference/webhook-connection.md)
{% endcontent-ref %}

[^1]: The name you wish to designate for this gateway.

[^2]: The timeframe within which your users are required to settle their orders.

[^3]: Users will return to this page either upon successful payment or in the event of failed payment for their orders.

[^4]:

[^5]: It's up to you, you don't have to if you don't want to.&#x20;


---

# 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.nebulox.io/reference/api-reference/get-your-first-api.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.
