---
schema_version: "1"
id: 39d47b313655beaea835c5af0ce2c19731b3c4fd20d4a2e090f11361d202bcaf
title: Use a Federation ID or Formula for SSO
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform-pkg-exchange/isvforce/guides/environment-hub-sso-mapping-federation-formula.md
canonical_url: https://developer.salesforce.com/docs/platform/isvforce/guide/environment-hub-sso-mapping-federation-formula.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2810397f88620835ab6fa36bbdb55d33e2d0e305bef4709fcc1b7b259de89f09
products:
  - ISVforce Guide
  - merged-docs
---

# Use a Federation ID or Formula for SSO

You can match an Environment Hub user with a user in a member org using a Federation ID or a user name formula. For either method, enable SSO in the hub member org first.

## Before You Begin

|User Permissions Needed| |
|-----------------------|--|
|To set up and configure the Environment Hub:|Manage Environment Hub|

## Steps

1.  Log in to the Environment Hub, and then select a member org. If you don’t see any member orgs, check your list view.

2.  Go to SSO Settings, and then choose a method.

    | Method | Steps |
    | ------ | ----- |
    | **SSO Method 2 - Federation ID**<br>Match users who have the same Federation ID in both the Environment Hub and a member org. | Select the checkbox. |
    | **SSO Method 3 - User Name Formula**<br>Match users in the Environment Hub and a member org according to a formula that you define. | Select the checkbox, and then define a formula. For example, to match the first part of the username (the part before the “@” sign) with an explicit domain name, enter:<br>`LEFT($User.Username, FIND(“@”, $User.Username)) & (“mydev.org”)` |

3.  Select **Save**.


