Settings

    Setting Up Single Sign-On (SSO)

    Enterprise Single Sign-On (SSO) lets your users sign into merchi.ai using your existing corporate credentials. Once active:

    • Users sign in through your company’s identity provider — no separate merchi.ai password required
    • New users are automatically onboarded to your workspace on first login
    • Their profile (name, job title, company) is populated from your directory
    • Roles can be managed via your identity provider groups

    To enable SSO for your organisation, contact merchi.ai support. The steps below walk your IT team through what they need to configure on your identity provider.

    merchi.ai Service Provider Details

    Your IT team will need these when creating the SAML application:

    FieldValue
    SP Entity ID / Identifierhttps://api.merchi.ai/auth/v1/sso/saml/metadata
    ACS URL (Reply URL / Assertion Consumer Service URL)https://api.merchi.ai/auth/v1/sso/saml/acs
    Sign-on URLhttps://app.merchi.ai/sign-in
    Name ID formatEmail address
    Name ID valueUser’s primary email address

    Required Attribute Mappings

    Your identity provider needs to send the following attributes in the SAML assertion. Map your directory fields to the exact App attribute names shown:

    Your directory fieldApp attribute name
    First namefirst_name
    Last namelast_name
    Job titlejob_title
    Company / Organisationcompany

    These populate the user’s merchi.ai profile automatically on each login.

    You can control whether users get Admin or Member access by creating groups in your identity provider and mapping them to a single attribute.

    Step 1 — Create groups in your identity provider:

    Create groups for each access level your users need. You can name them anything — just note the names as you’ll need to share them with us so we can configure the role mapping.

    Group purposeExample name
    merchi.ai Adminsmerchi-admins
    merchi.ai Membersmerchi-members

    Add users to the appropriate group.

    Step 2 — Add a Group membership attribute mapping in your SAML application:

    SourceApp attribute name
    Group membership (select the groups above)merchi_groups

    merchi.ai will assign the corresponding role on each login. Users with no matching group receive Member access by default.

    IdP-Specific Instructions

    Google Workspace

    1. Sign in to Google Admin Console
    2. Apps → Web and mobile apps → Add app → Add custom SAML app
    3. Name the app (e.g. “merchi.ai”) and click Continue
    4. Download the IdP metadata (send this to merchi.ai) and click Continue
    5. Enter the Service Provider details from the table above
    6. Set Name ID format to EMAIL and Name ID to Basic Information > Primary email
    7. Click Continue, then add the attribute mappings:
      • Basic Information > First name → first_name
      • Basic Information > Last name → last_name
      • Employee Details > Title → job_title
      • Organization → company
    8. Under Group membership, add your merchi.ai role groups → merchi_groups
    9. Save the app and turn it On for the relevant users or org units

    Important notes:

    • Users must be members of a group (not just owners) for the group to appear in the assertion
    • If a user belongs to multiple merchi.ai groups, only one will be sent — put the highest-privilege group first in the list order

    Azure AD

    1. Sign in to the Azure Portal
    2. Azure Active Directory → Enterprise applications → New application → Create your own application
    3. Select the non-gallery option and name it “merchi.ai”
    4. On the app page → Single sign-on → SAML
    5. Basic SAML Configuration:
      • Identifier (Entity ID): https://api.merchi.ai/auth/v1/sso/saml/metadata
      • Reply URL (ACS URL): https://api.merchi.ai/auth/v1/sso/saml/acs
      • Sign on URL: https://app.merchi.ai/sign-in
    6. User Attributes & Claims — add:
      • first_name → user.givenname
      • last_name → user.surname
      • job_title → user.jobtitle
      • company → user.companyname
    7. Group Claims — add a group claim:
      • Source: Groups assigned to the application
      • Source attribute: Group display name (not Object ID)
      • Claim name: merchi_groups
    8. Assign users to the application under Users and groups
    9. From SAML Signing Certificate, copy the App Federation Metadata Url and send it to merchi.ai

    Okta

    1. Sign in to the Okta Admin Console
    2. Applications → Create App Integration → SAML 2.0
    3. Name the app “merchi.ai”
    4. SAML Settings:
      • Single sign-on URL: https://api.merchi.ai/auth/v1/sso/saml/acs
      • Audience URI (SP Entity ID): https://api.merchi.ai/auth/v1/sso/saml/metadata
      • Name ID format: EmailAddress
      • Application username: Email
    5. Attribute Statements — add:
      • first_name → user.firstName
      • last_name → user.lastName
      • job_title → user.title
      • company → user.organization
    6. Group Attribute Statements — add:
      • Name: merchi_groups
      • Filter: matches your merchi.ai role groups
    7. Assign the app to users or groups
    8. From the Sign On tab, copy the Metadata URL and send it to merchi.ai

    What to Send merchi.ai

    Once your SAML application is configured, send us:

    1. The IdP Metadata URL or Metadata XML file
    2. The email domain your users sign in with (e.g. yourcompany.com)
    3. The names of the groups you mapped to merchi_groups (so we can confirm role mapping)

    We will complete the connection on our side and confirm when SSO is live.

    How Sign-In Works for Users

    Once SSO is active:

    1. Go to https://app.merchi.ai/sign-in
    2. Click Sign in with SSO
    3. Enter their email address and click Continue with SSO
    4. They are redirected to your company’s login page
    5. After authenticating, they are redirected back to merchi.ai

    On their first login, their account is created automatically and they are added to your workspace. On every subsequent login, their profile and role are refreshed from your directory.

    Frequently Asked Questions

    Do users still need a merchi.ai password? No. Once SSO is active for your domain, users sign in through your identity provider only.

    What about MFA? MFA for SSO users is managed entirely by your identity provider. When a user signs in via SSO, they are redirected to your company login page — whatever MFA or conditional access policies you have configured there will apply. merchi.ai trusts the authentication your IdP performs. We recommend enabling MFA in your identity provider for all users who access merchi.ai.

    What happens if a user is removed from our identity provider? They will not be able to sign in to merchi.ai. Their existing data is not deleted automatically — contact us if you need a user removed.

    Can some users use SSO and others use a password? Yes. SSO is domain-based — users on your email domain are routed through SSO. Users on other domains can continue using password login.

    What role will new users get by default? Member access. If you configure role groups and map them via merchi_groups, users will receive the role matching their group instead.

    Can we change a user’s role after they’ve signed in? Yes — either via the merchi.ai Team settings page, or by updating their group in your identity provider (takes effect on their next login).