# Discord Webhook

***

{% stepper %}
{% step %}

### <mark style="color:orange;">Create a server</mark>

Firstly you will need to create a secure server. Webhooks can contain sensitive information so it is important to create a server where only you have access.

To create your own server, you can press the "+ add a server" icon at the bottom of your server list.

<figure><img src="/files/I35ZGHj6ac11MasYuUPf" alt=""><figcaption><p>Images are for illustrative purposes only</p></figcaption></figure>

***

{% endstep %}

{% step %}

### <mark style="color:orange;">Create a channel</mark>

We recommend creating a dedicated channel in your server for webhook messages. Create a text channel and choose a suitable name.

<figure><img src="/files/K1Q6KZgqCuNE5IcRhp3u" alt=""><figcaption><p>Images are for illustrative purposes only</p></figcaption></figure>

***

{% endstep %}

{% step %}

### <mark style="color:orange;">Channel Settings</mark>

Once you have created a channel, hover over it and press the settings icon on the right to edit channel.

<figure><img src="/files/Ehg1CD9QozX7W0LaTczh" alt=""><figcaption><p>Images are for illustrative purposes only</p></figcaption></figure>
{% endstep %}

{% step %}

### <mark style="color:orange;">Webhook</mark>

On the channel settings, click the fourth field "Integrations", press "Webhooks" and finally "New Webhook"

<figure><img src="/files/Inz41u6E12kWhu1W5PWy" alt=""><figcaption><p>Images are for illustrative purposes only</p></figcaption></figure>

Once you have created the webhook, you are free to customise the name and logo. Then press "Copy Webhook URL" and you will have your discord webhook that you can use

<figure><img src="/files/ZEfVE7BrvntwspjjFUi6" alt=""><figcaption><p>Images are for illustrative purposes only</p></figcaption></figure>

{% hint style="success" %}
Your webhook should begin with "<https://discord.com/api/webhooks/>"
{% endhint %}
{% endstep %}
{% endstepper %}


---

# 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://guide.lunar.trade/lunar-cloud/general-guides/discord-webhook.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.
