# Connection

{% hint style="info" %}
This page explains the steps you need to follow to set up the Discord connection in Flow. If any of the steps are outdated, please let us know!
{% endhint %}

1. Go to the [link](https://discord.com/developers/applications) to register a **new application** on Discord.
2. Fill **Name**.
3. Check the checkboxes.
4. Click on the **create** button.
5. Go to **OAuth2** > **General** page.
6. Copy the **Client ID** and save it to use later.
7. Reset the **Client secret** to get the initial client secret and copy it to use later.
8. Click the **Add Redirect** button to define a redirect URI.
9. Copy **OAuth Redirect URL** from Plumber to **Redirect** field.
10. Save the changes.
11. Go to **Bot** page.
12. Click **Add Bot** button.
13. Acknowledge the warning and click **Yes, do it!**.
14. Click **Reset Token** to get the initial bot token and copy it to use later.
15. Fill the **Consumer key** field with the **Client ID** value we copied.
16. Fill the **Consumer secret** field with the **Client Secret** value we copied.
17. Fill the **Bot token** field with the **Bot Token** value we copied.
18. Click **Submit** button on Flow.
19. Congrats! Start using your new Discord connection within the flows.
