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

# Help Scout

> Connect to your users' Help Scout accounts.

Product
Supported

## Setup Guide

Paragon supports two authentication methods for the Help Scout integration:

* **OAuth 2.0:** Your users connect their Help Scout account to access mailboxes, conversations and customers through the Help Scout [Mailbox API](https://developer.helpscout.com/mailbox-api/).
* **Docs API key:** Your users provide a Help Scout Docs API key to access knowledge base articles through the Help Scout [Docs API](https://developer.helpscout.com/docs-api/).

### OAuth 2.0

You can find your app credentials in the OAuth application you create in Help Scout. See the Help Scout [authentication documentation](https://developer.helpscout.com/mailbox-api/overview/authentication/) for how to create an OAuth application.

> [!NOTE]
>
> **Note:** You'll need to create a new Help Scout OAuth application if you don't already have one.

You'll need the following information to set up your Help Scout app with Paragon Connect:

* Client ID
* Client Secret

#### Add the Redirect URL to your Help Scout app

Paragon provides a redirect URL to send information to your Help Scout app. To add the redirect URL to your Help Scout app:

1. Copy the link under "**Redirect URL**" in your integration settings in Paragon. The Redirect URL is:

```text theme={null}
https://passport.useparagon.com/oauth
```

2. Add the redirect URL from Paragon as the redirection URL of your Help Scout OAuth application.

#### Add your Help Scout app to Paragon

1. Select **Help Scout** from the **Integrations Catalog**.

2. Under **Integrations > Connected Integrations > Help Scout > App Configuration > Configure**, fill out your credentials in their respective sections:

* **Client ID:** Your Help Scout OAuth application's App ID.
* **Client Secret:** Your Help Scout OAuth application's App Secret.

Press the purple "**Save Changes**" button to save your credentials.

### Docs API key

The Docs API key method doesn't require any app configuration in Paragon. Your users enter their own **Docs API Key** in the Connect Portal.

Your users can create a Docs API key in Help Scout under **Your Profile > My Apps > Docs API Keys**. See the Help Scout [Docs API documentation](https://developer.helpscout.com/docs-api/) for details.

## Connecting to Help Scout

Once your users have connected their Help Scout account, you can use the Paragon SDK to access the Help Scout Mailbox API on behalf of connected users.

See the Help Scout [Mailbox API documentation](https://developer.helpscout.com/mailbox-api/) for their full API reference.

Any Help Scout Mailbox API endpoints can be accessed with the Paragon SDK as shown in this example.

```js JavaScript theme={null}
// You can find your project ID in the Overview tab of any Integration

// Authenticate the user
paragon.authenticate(<ProjectId>, <UserToken>);

// List conversations
await paragon.request("helpscout", "/conversations", {
  method: "GET",
  params: { status: "active", pageSize: 25 },
});

// Create a conversation
await paragon.request("helpscout", "/conversations", {
  method: "POST",
  body: {
    subject: "Billing question",
    mailboxId: 85,
    type: "email",
    status: "active",
    customer: { email: "customer@example.com" },
    threads: [{ type: "customer", text: "I need help with my invoice." }],
  },
});
```

## Building Help Scout workflows

Once your Help Scout account is connected, you can add steps to perform the following actions:

* **Conversations:** Create, update, delete, get by ID, and search conversations, and create a conversation reply
* **Customers:** Create, update, delete, get by ID, and search customers
* **Knowledge base articles:** Create, update, delete, get by ID, and list articles

Knowledge base article actions use the Help Scout Docs API and require a connection made with a Docs API key.

You can also use the [Help Scout Request](https://docs.useparagon.com/workflows/requests.md#making-integration-requests) step to access any of Help Scout's API endpoints without the authentication piece.

When creating or updating records in Help Scout, you can reference data from previous steps by typing `{{` to invoke the variable menu.

## Using Triggers

Triggers can be used to run workflows based on events in your users' Help Scout account. Help Scout triggers poll the Help Scout API for new and changed records.

You can find the full list of triggers for Help Scout below:

* **Conversation Created**
* **Conversation Changed**
* **Customer Created**
* **Customer Changed**
