# Setup & Config

{% stepper %}
{% step %}
**Access Webhooks Tab**

Navigate to the "Webhooks" tab in your dashboard (admin only).

This tab is only visible to users with admin privileges.
{% endstep %}

{% step %}
**Create New Webhook**

Click "Create Webhook" and fill in the basic information.

You'll need to provide a name and select your store provider.
{% endstep %}

{% step %}
**Configure Store Provider**

Select your store provider (SellAuth, Custom, etc.) and enter the HMAC secret.

The HMAC secret is used to verify that webhooks are coming from your store.

{% hint style="info" %}
**Security:** Keep your HMAC secret secure and never share it publicly. This secret ensures that only your store can trigger webhook actions.
{% endhint %}
{% endstep %}

{% step %}
**Set Up Key Generation**

Configure which service to generate keys for, validity duration, and other settings.

You can specify how long keys remain valid and whether they can be used multiple times.
{% endstep %}

{% step %}
**Copy Webhook URL**

Copy the generated webhook URL and configure it in your store settings.

This URL is unique to your webhook and should be kept secure.
{% endstep %}

{% step %}
**Configuration Options**

{% tabs %}
{% tab title="Basic Settings" %}
• **Name:** Internal name for your webhook

• **Store Provider:** SellAuth, Custom, etc.

• **HMAC Secret:** Security key for signature verification

• **Action Type:** Currently supports "Generate Keys"• **Provider:** Your key provider
{% endtab %}

{% tab title="Key Generation Settings" %}
• **Service:** Service to generate keys for

• **Validity Hours:** How long keys remain valid

• **One-time Use:** Whether keys can be used multiple time
{% endtab %}
{% endtabs %}
{% endstep %}
{% endstepper %}

{% hint style="success" %}
**Success!** Your webhook is now configured and ready to automatically generate keys when customers make purchases through your store.
{% endhint %}


---

# 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.jnkie.com/shop-webhooks/setup-and-config.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.
