> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/global-settings/environment/organizations/how-to-install-the-flosum-connected-app-for-salesforce.md).

# How to Install the Flosum Connected App for Salesforce

Install the Flosum Connected App to prevent OAuth Errors.

{% hint style="success" %}

#### Required User Credentials

\[**Flosum User**] - **SystemAdministrator** Role

\[**Salesforce User**] - **Administrator** Credentials&#x20;
{% endhint %}

## ![](https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FSxcnKlaJKPzDqONWoDNv%2FSummary2-Small-Icon.svg?alt=media\&token=5e3253d0-a069-4ba5-9c06-83c70bd0b21d) Overview

Salesforce recently [announced](https://help.salesforce.com/s/articleView?id=005132365\&type=1\&utm_source=techcomms\&utm_medium=email\&utm_campaign=FY26_Core_4013001) new security policy changes that affect Connected Apps. To stay compliant and ensure seamless integration, all current Flosum customers should install the Flosum Connected App in their Salesforce orgs.

This installation is quick and ensures you won’t be caught off guard by Salesforce’s security changes. By completing this step, you’ll keep your Flosum Cloud Apps integrations running smoothly and avoid unexpected errors when connecting orgs to Flosum.

{% hint style="info" %}

### **Why Do You Need to Install the Connected App?**

Existing connections are unlikely to be affected immediately. However, any new connections, including those from new users, sandboxes, or Salesforce orgs, will require the Connected App to be installed.

Because the Connected App cannot be installed or deployed through the Metadata API, this process must be done manually. Skipping this step might lead to OAuth Errors like:

“***Connected app OAuth App blocked.***”

<img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FzxRUuBdjrX02pUuvXHHI%2FHowToInstallConnectedApp-Error-01.png?alt=media&amp;token=3cd0cc4e-eae9-4090-8220-cfab40879ef0" alt="" data-size="original">
{% endhint %}

## **Installing Flosum Connected App**

For any Salesforce org that you use with Flosum, a **System Administrator** must complete these steps:

{% stepper %}
{% step %}

### Check If Flosum Apps Are Installed

1. Log in to your Salesforce org.
2. Go to **Setup**.
3. In the Quick Find box, enter and then select **Connected Apps OAuth Usage**.
4. Find the **Flosum** Connected Application in the list.
5. If the **Uninstall** button is in the **Actions** column, the app is already installed, and no action is needed.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FUBOJagFr4lcKdZo2SocN%2FHowToInstallConnectedApp-S01-01_01.png?alt=media&amp;token=1f707e58-44b3-4e1c-8de3-52d0df704f64" alt="" width="563"><figcaption></figcaption></figure></div>
6. If the **Install** button is in the **Actions** column, the app hasn't been installed. You need to complete the rest of the steps in this article.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FSCDbMcSC9YW2S8Gk5XfV%2FHowToInstallConnectedApp-S01-02.png?alt=media&amp;token=7ef18634-eb19-4e48-8116-600088c9929c" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Install the App

1. Click **Install**.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2Fqeha86Dmqnqn94bHSOu9%2FHowToInstallConnectedApp-S02-01_01.png?alt=media&amp;token=c7a340c6-c6cc-4cb7-9b49-b964a8a72c1c" alt="" width="563"><figcaption></figcaption></figure></div>
2. Click **Install**.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FxDF6GItZnOx8D2HjDYqc%2FHowToInstallConnectedApp-S02-02_01.png?alt=media&amp;token=d64c9cb2-22df-4831-930d-b7c1dc00c638" alt="" width="375"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Edit Connected App

1. Once installed, edit the connected app’s settings.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FyiopIXtkBP45I1inDmHH%2FHowToInstallConnectedApp-S03-01_01.png?alt=media&amp;token=4e287860-bbb8-4483-b1da-e60b9bcdee35" alt="" width="563"><figcaption></figcaption></figure></div>
2. Set the **Permitted Users** policy to: “**Admin approved users are pre-authorized.**”&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FHwsqDUsz8ryhm4qcrW7D%2FHowToInstallConnectedApp-S03-02_01.png?alt=media&amp;token=13bfdddd-bcb3-46f1-a436-94c03cc52ea2" alt="" width="563"><figcaption></figcaption></figure></div>
3. Click **Save** at the bottom of the form.
4. Modify the **Profile** or **Permission Set** to grant access to those with the appropriate level. &#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FVG8ZFMHIxV2QmoB8lyui%2FHowToInstallConnectedApp-S03-03_01.png?alt=media&amp;token=c52a8782-7dbf-443c-97c1-3f445ba4849c" alt="" width="563"><figcaption></figcaption></figure></div>

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FFe8VWCPliBnFWHEvplyO%2FHowToInstallConnectedApp-S03-04_01.png?alt=media&amp;token=d51ffe5e-9dea-48e8-a69a-2391cc4da1ef" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Refresh Token

{% hint style="info" %}
For more detailed instructions on updating a token, see the following article.

* [Updating an Organization Token](/global-settings/environment/organizations/updating-an-organization-token.md)
  {% endhint %}

1. Log in to **Flosum Global Settings**.
2. Click **Organizations** from the left sidebar menu.
3. Click the **Three Dot** menu for the Salesforce organization you are installing the connected app for.
4. Click **Update Token**.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2F9OIsPzSxAXoo0xAGbF2A%2FHowToInstallConnectedApp-S04-01_01.png?alt=media&amp;token=13bc2a15-60a7-4466-b1b9-73d69394e58b" alt="" width="563"><figcaption></figcaption></figure></div>
5. Log in to Salesforce to complete the authentication.
   {% endstep %}

{% step %}

### Confirm App Installed

1. After installing the app, confirm that it is listed in the following places in Salesforce:
   1. **Manage Connected Apps**&#x20;

      <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FNAILra6TEmm8wna019AW%2FHowToInstallConnectedApp-S05-01_01.png?alt=media&amp;token=e33db150-a368-414f-aff8-079951c56aa2" alt="" width="563"><figcaption></figcaption></figure></div>
   2. **Connected Apps OAuth Usage**&#x20;

      <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2Fh1caoZ8bnYajoUIWZxCp%2FHowToInstallConnectedApp-S05-02_01.png?alt=media&amp;token=1ef207bf-d536-43ae-a8b4-92524abefd48" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}

{% hint style="info" %}
To re-authenticate, click **Unblock**, then update the org's token in **Global Settings → Organizations.** **Note:** Once unblocked, the connected app will no longer be visible in the managed connected apps list.
{% endhint %}

***

## **Troubleshooting**

If you’re having issues logging into Flosum or connecting to an organization, double-check the policy settings:

1. Go to **Setup → Connected Apps OAuth Usage.**
2. Select **Manage App Policies** for the Flosum Connected App(s).
3. Check which **Permitted Users** setting you are using:&#x20;
   1. **All users may self-authorize**: Flosum works as before; any user can connect.&#x20;
   2. **Admin-approved users are pre-authorized**: Only users explicitly granted access can connect.

If the **Admin-approved users are pre-authorized** option is chosen, you’ll need to explicitly grant users access. See the section below for instructions on how to do this.

### **How to Grant Access to Users**

If a Connected App's **Permitted Users** option is set to **Admin approved users are pre-authorized**, users won’t automatically have access to the Connected App. To grant access, add the **Profiles** and **Permission Sets** that include the users who need access.

{% hint style="info" %}
Adding Profiles and Permission Sets to a Connected App provides access to all users associated with them. If you need more control over access, create a custom Permission Set for users who need access to the app.
{% endhint %}

{% stepper %}
{% step %}

#### **Add Profiles**

1. Access the Connected App.
2. Find the **Profiles** section.
3. Click **Manage Profiles**.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FAsmu7KwSCicaxP1kO8Uy%2FHowToInstallConnectedApp-Trouble-S01-01.png?alt=media&amp;token=5919fd39-cf53-4414-98a6-13b16b1014e4" alt="" width="563"><figcaption></figcaption></figure></div>
4. Check all the profiles to grant access to.
5. Click **Save**.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FRaXhhILlBrvMGx87VXGE%2FHowToInstallConnectedApp-Trouble-S01-02.png?alt=media&amp;token=b09005be-4c1c-4510-85a4-821eff4efbe0" alt="" width="563"><figcaption></figcaption></figure></div>
6. All added profiles will be listed.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FZ3yieAlyOGjxb8ZQjnOl%2FHowToInstallConnectedApp-Trouble-S01-03.png?alt=media&amp;token=9ef466a3-c71a-4836-b0e1-b7116b559ad5" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Add Permission Sets

{% hint style="info" %}

#### Alternate Method

A Connected App can be assigned to a Permission Set when the Permission Set is created or edited.&#x20;
{% endhint %}

1. Access the Connected App.
2. Find the **Permission Sets** section.
3. Click **Manage Permission Sets**.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FX9qUiESPAruZ9ARGmkoF%2FHowToInstallConnectedApp-Trouble-S02-01.png?alt=media&amp;token=9b61decd-15dd-41a0-8f39-df516a00e70c" alt="" width="563"><figcaption></figcaption></figure></div>
4. Check all the permission sets to grant access to.
5. Click **Save**.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2F1yW8wCYfjIPo8917N4VK%2FHowToInstallConnectedApp-Trouble-S02-02.png?alt=media&amp;token=f49e026e-6145-40e5-b628-103ca0f29f49" alt="" width="563"><figcaption></figcaption></figure></div>
6. All added permission sets will be listed.&#x20;

   <div align="left"><figure><img src="https://579543750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FNlD3YEgjcq4mpD4G98Tk%2FHowToInstallConnectedApp-Trouble-S02-03.png?alt=media&amp;token=88dab4fd-4d48-41af-acfc-95cbdda5b84e" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flosum.com/global-settings/environment/organizations/how-to-install-the-flosum-connected-app-for-salesforce.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
