> ## Documentation Index
> Fetch the complete documentation index at: https://restorecord.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Setup Slash Commands

> A step-by-step guide about enabling Slash Commands.

<Warning>Commands and Online status require the [Business Subscription](https://restr.co/upgrade) to be enabled.</Warning>

<Steps>
  <Step title="Visit Discord's Developer Portal">
    > Go to the [Discord Developer Portal](https://discord.com/developers/applications) and select your application.

    <Frame>
      <img src="https://mintlify.s3-us-west-1.amazonaws.com/restorecord/images/discord-developer-portal.png" />
    </Frame>
  </Step>

  <Step title="Copy Public Key">
    > Scroll down until you see "Public Key" and click on "Copy" to copy the key.

    <Frame>
      <img src="https://mintlify.s3-us-west-1.amazonaws.com/restorecord/images/public-key.png" />
    </Frame>
  </Step>

  <Step title="Add Public Key to RestoreCord">
    > Go to your [RestoreCord Dashboard](https://restr.co/bots) and Edit your bot, then paste the key into the "Public Key" field.

    <Frame>
      <img src="https://mintlify.s3-us-west-1.amazonaws.com/restorecord/images/restorecord-dashboard-public-key.png" />
    </Frame>
  </Step>

  <Step title="Add Interaction URL">
    > Go back to the [Discord Developer Portal](https://discord.com/developers/applications) and enter the following URL into the "Interactions Endpoint URL" field.

    ```
    https://restorecord.com/api/interaction
    ```

    <Frame>
      <img src="https://mintlify.s3-us-west-1.amazonaws.com/restorecord/images/interactions-endpoint-url.png" />
    </Frame>
  </Step>

  <Step title="Refresh Commands">
    > Then, go back to the dashboard, edit your custom bot and click the **REFRESH COMMANDS** Button.

    <Frame>
      <img src="https://mintlify.s3-us-west-1.amazonaws.com/restorecord/images/refresh-bot_commands.png" />
    </Frame>
  </Step>
</Steps>

<Check>You have enabled commands for your bot!</Check>

<Info>
  <Card title="Any Questions?" icon="question" href="https://restr.co/discord">
    If you have any questions, feel free to join our [Discord Server](https://restr.co/discord) and ask us anything!
  </Card>
</Info>
