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
- Sign in to the Hootsuite Developer Portal. If you do not have developer access yet, follow steps 1 and 2 of App Submission Process.
- Go to My Apps and create a new app.
- Enter a name for the app and save it.
- 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 asHOOTSUITE_APP_IDin your.envfile.
Step 2: Add an Embedded extension
- Open your app in My Apps and go to Extensions.
- Click Add an extension and select Embedded app as the extension type.
- Enter the Extension name and save the extension.
Step 3: Select surfaces
- In the Embedded extension settings, under Compatible surfaces, select each surface where your app should appear: Perch, Nest, or both.
- 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
- 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.
- Note the provider's client ID and client secret.
- 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
-
Open your app and go to Security > OAuth 2.0.
-
Enter:
Field Value Client ID <YOUR_CLIENT_ID>from your providerClient secret <YOUR_CLIENT_SECRET>from your providerAuth URL The provider's authorization endpoint, for example https://app.todoist.com/oauth/authorizeToken URL The provider's token endpoint, for example https://api.todoist.com/oauth/access_tokenScope The scopes your app needs, for example data:readfor read-only Todoist access -
Turn on Include PKCE S256 Challenge or Send Client ID/Secret in Authorization Header only if your provider requires them.
-
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
- In the OAuth 2.0 section of your app, copy the Redirect URL that Hootsuite shows. It is specific to your app ID.
- In your provider's OAuth application, add that value as an allowed redirect (callback) URL.
- 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.
- In the Hootsuite dashboard, open the App Directory and find your app under My Apps.
- Install it.
- Open Perch, click Open apps, and select your app in the Apps drawer.