# Settings

## General

#### Webhooks

* Paste your webbook into the corresponding section and click save. To test the webbook, click test.

{% tabs %}
{% tab title="Info" %}
![](/files/WhTvFeK8aB9HVzZAUpw4)
{% endtab %}

{% tab title="Discord Webhook Setup" %}

## **Creating a Webhook**

* A Discord webhook is used to  see Refract success and declines

Step 1:

* Create your own Discord server by clicking the "+ - Add A Server" Icon on Discord.

![](https://downloads.intercomcdn.com/i/o/206531241/04886ea7ee1f0e6f60045a3f/discord+create+server.png)

Step 2:

* Click on the `create a server` button and fill out the necessary information to create your server.
* Once your server is all setup, you will than want to head to `server settings` tab.

![](https://downloads.intercomcdn.com/i/o/206533992/295d49fe0c5005faa4bc773f/Annotation+2020-05-05+163551.png)

* In server settings, head over to the `webhooks`tab.

![](https://downloads.intercomcdn.com/i/o/206534277/6ed726b13a3d14d8540c025b/Annotation+2020-05-05+163911.png)

* Click on the `Create Webhook` button to create your webhook. Choose what channel you want the webhook to go too. **Make sure to copy that link as it is needed for the bot.**
  {% endtab %}

{% tab title="Slack Webhook Setup" %}

## **Creating a Webhook**

* A Slack webhook is used to see Refract success and declines

Step 1:

* Create your own Slack Workspace by clicking the "+ - Add workspaces" Icon the left-hand side of your slack application

![](https://downloads.intercomcdn.com/i/o/227730734/a94f7f019daaf721b085a381/image.png)

Step 2:

* Once you have created your new workspace, you should be on the homepage for the workspace in your internet browser.
* Scroll to the bottom and locate the `+ Add Applications` button.
* Locate the application `incoming Webhooks` and add it to your workspace

![](https://downloads.intercomcdn.com/i/o/227737728/667215dadea70c5a80a9ce38/image.png)

Step 3:

* Once the application has been added, click on the application and go to the settings tab to edit your configuration.
* Pick a channel that the app will post to, then click **Authorize.**

![](https://downloads.intercomcdn.com/i/o/227738749/e502693c8543cff8171b609b/image.png)

Step 4:

* You can finally click generate in the Webhook URL box to generate your Slack webhook link.
  {% endtab %}
  {% endtabs %}

#### Checkout Sound

* The checkout sound is played on each successful checkout. A custom sound can be imported if in proper MP3 format.

#### App Data

* App data can be imported + exported. This will import or export all of your bot settings.
* To import or export, click the corresponding button.

<figure><img src="/files/vakBh0svn5aK9MPWttF1" alt=""><figcaption></figcaption></figure>


---

# 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://help.refractbot.com/general-setup/settings.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.
