---
updatedAt: 2025-11-03T17:18:48.000Z
agentTools:
  projectIndex: https://docs.gupshup.io/llms.txt
---

# Workplace

## How to publish a bot on Workplace

### Create a custom integration

* Go to the [Workplace website](https://en-gb.workplace.com/) and login to your account.

![1894](https://files.readme.io/719a42d-WP_1.png "WP 1.png")

* Go to **Admin Panel** (wrench and screwdriver icon).
* Select **Integrations**.

![1891](https://files.readme.io/ff89696-WP_2.png "WP 2.png")

* Scroll down and click the **Create Custom Integration** button.
* Enter the name and description and click the **Create** button.

![1920](https://files.readme.io/0cee1bc-WP_3.png "WP 3.png")

You are redirected to the Integration details page.

### Create and get Access Token

* Go to **Details** in the sidebar.
* Click the **Create Access Token** button in the **integration Details** section.
* Copy the new token created for later use.

![1887](https://files.readme.io/9183151-WP_4.png "WP 4.png")

### Enable permissions

* Go to **Permissions** in the sidebar.
* Enable the permissions mentioned below.

<Table align={["left"]}>
  <thead>
    <tr>
      <th>
        Permissions
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        Message any member
      </td>
    </tr>

    <tr>
      <td>
        Read all messages
      </td>
    </tr>

    <tr>
      <td>
        Read and action reported content
      </td>
    </tr>

    <tr>
      <td>
        Read group content
      </td>
    </tr>

    <tr>
      <td>
        Read Knowledge Library content
      </td>
    </tr>

    <tr>
      <td>
        Read user email
      </td>
    </tr>

    <tr>
      <td>
        Read user timeline
      </td>
    </tr>

    <tr>
      <td>
        Read org chart
      </td>
    </tr>

    <tr>
      <td>
        Read work profile
      </td>
    </tr>

    <tr>
      <td>
        Read group membership
      </td>
    </tr>
  </tbody>
</Table>

* Click **Save**.

![1886](https://files.readme.io/b38c6c4-WP_5.png "WP 5.png")

### Get Callback URL and Verify Token

* Log in to the Gupshup website.
* Go to Dashboard tab > My Bots section.
* Select the button under the **Publish** column against the bot you wish to publish.
* A list of channels will appear. Click on the Publish button against Workplace.
* Scroll down and click **Configure webhooks**.
* Copy the Callback URL and Verfiy Token for later use.

![1217](https://files.readme.io/5d22216-WP_6.png "WP 6.png")

### Configure webhooks

* Go to **Webhooks** in the sidebar on the Integration details page.
* Click the pencil icon against **Page**.

![1889](https://files.readme.io/a123311-WP_7.png "WP 7.png")

* Enter the Callback URL and Verify Token copied earlier in the respective fields.
* Select all event checkboxes given below and click **Save**.

![1884](https://files.readme.io/76b114a-WP_8.png "WP 8.png")

### Get Bot Page ID

* Go to **Home** (Workplace logo icon).
* Go to the **Bots** section in the **Home** sidebar.
* Select the custom integration you created for the bot.
* Copy the ID given the end of the URL in the search bar of your browser for later use.

![1920](https://files.readme.io/528d354-WP_9.png "WP 9.png")

### Submit your Page ID and Access Token

* Log in to the Gupshup website.
* Go to Dashboard tab > My Bots section.
* Select the button under the **Publish** column against the bot you wish to publish.
* A list of channels will appear. Click on the Publish button against Workplace.
* Scroll down and click **Submit your Page ID and Access Token**.
* Enter the Page ID and Access Token copied earlier into the respective fields.
* Enter the Persistent Menu JSON and Welcome Message if you wish.
* Click **Submit**.

![746](https://files.readme.io/25c56a9-WP_10.png "WP 10.png")

> 📘 To configure a persistent menu for your bot, refer to Gupshup's [persistent menu guide](https://www.gupshup.io/developer/docs/bot-platform/guide/get-started-button-persistent-menu-fb#PersistentMenu).