Skip to main content

Create and Configure the App in the Developer Portal

Before Hootsuite can load your app, you need an app in the Developer Portal with an Embedded extension. This page covers creating the app, choosing surfaces, and configuring OAuth 2.0 with your provider. Exact labels may vary slightly by portal version.


Step 1: Create the app​

  1. Sign in to the Hootsuite Developer Portal. If you do not have developer access yet, follow steps 1 and 2 of App Submission Process.
  2. Go to My Apps and create a new app.
  3. Enter a name for the app and save it.
  4. Copy the app ID from the address bar. After you open the app, the URL looks like /developers/app/<YOUR_APP_ID>/extensions. The Developer Portal does not show the ID in a labeled field. Set that number as HOOTSUITE_APP_ID in your .env file.

Step 2: Add an Embedded extension​

  1. Open your app in My Apps and go to Extensions.
  2. Click Add an extension and select Embedded app as the extension type.
  3. Enter the Extension name and save the extension.

Step 3: Select surfaces​

  1. In the Embedded extension settings, under Compatible surfaces, select each surface where your app should appear: Perch, Nest, or both.
  2. Click Save settings.

Each save replaces the full list of surfaces, so clear a checkbox to remove a surface. Keep at least one surface selected: an extension without surfaces does not appear anywhere in Hootsuite.

The same settings screen controls where Hootsuite loads your app from: a development URL or an uploaded bundle. See Develop and test.


Step 4: Configure OAuth 2.0​

Skip this step if your app does not read data from an external provider.

Hootsuite runs the OAuth 2.0 flow with your provider on behalf of each user and gives your app the resulting access token. Your provider must support the OAuth 2.0 authorization code flow.

4.1: Register an OAuth app with your provider​

  1. In your provider's developer settings, create an OAuth application. With Todoist, for example, you create it in the Todoist app under Settings > Integrations > App Management.
  2. Note the provider's client ID and client secret.
  3. Find the provider's authorization URL, token URL, and the scopes your app needs. These come from the provider's OAuth documentation.

4.2: Enter the provider settings in the Developer Portal​

  1. Open your app and go to Security > OAuth 2.0.

  2. Enter:

    FieldValue
    Client ID<YOUR_CLIENT_ID> from your provider
    Client secret<YOUR_CLIENT_SECRET> from your provider
    Auth URLThe provider's authorization endpoint, for example https://app.todoist.com/oauth/authorize
    Token URLThe provider's token endpoint, for example https://api.todoist.com/oauth/access_token
    ScopeThe scopes your app needs, for example data:read for read-only Todoist access
  3. Turn on Include PKCE S256 Challenge or Send Client ID/Secret in Authorization Header only if your provider requires them.

  4. Click Save.

The client secret stays in the Developer Portal. It is never sent to the iframe or to your backend.

4.3: Add the Hootsuite redirect URL to your provider​

  1. In the OAuth 2.0 section of your app, copy the Redirect URL that Hootsuite shows. It is specific to your app ID.
  2. In your provider's OAuth application, add that value as an allowed redirect (callback) URL.
  3. Save the provider settings.

Step 5: Install the app in your account​

To test the app, install it in your own Hootsuite account so it appears on the surfaces you selected.

  1. In the Hootsuite dashboard, open the App Directory and find your app under My Apps.
  2. Install it.
  3. Open Perch, click Open apps, and select your app in the Apps drawer.

Next step​

Develop and test.