Create an identity provider \(IdP\) for Engagement Messenger
Create an IdP for your Engagement Messenger so that you can enable customer authentication. You can create an IdP for either the OpenID Connect (OIDC) or Security Assertion Markup Language (SAML) authentication type.
Before you begin
Role required: admin
About this task
If you previously configured an IdP, you can ignore this task and reuse the existing IdP.
Note: If you have configured multiple IdPs on your instance and want to select a specific IdP for your Engagement Messenger module, do the following:
-
Enable Engagement Messenger on a website when third-party application cookies are blocked
-
If you have multiple IdPs on your instance:
- In case of OIDC authentication type, the generated ID token should contain the client ID of a IdP record against which authentication is required.
- In case of SAML authentication type, set the particular IDP record as Auto-redirect IdP. Note: For more information, see Setting up auto login and logout for Engagement Messenger.
Procedure
-
Navigate to All > Multi-Provider SSO > Identity Providers.
-
Select New.
-
Select either OpenID Connect or SAML.
- If you select OpenID Connect, follow the procedure in Create an OpenID Connect (OIDC) configuration for Single Sign-On (SSO).
- If you select SAML, follow the procedure from step 3 in Create and update identity providers.
What to do next
-
When customers sign in to your website where the Engagement Messenger module is deployed, they must also be authenticated within the messenger. User authentication is done by using the same IdP that authenticated the customer's login into your website.
You must verify that the customers of your website are also added in your OIDC or SAML authentication provider for the ServiceNow instance.
-
Enable cross-domain requests between Engagement Messenger and your website. For more information, see Configure a CORS rule for Engagement Messenger.
Related topics
---
title: Create an identity provider \(IdP\) for Engagement Messenger
description: Create an IdP for your Engagement Messenger so that you can enable customer authentication. You can create an IdP for either the OpenID Connect \(OIDC\) or Security Assertion Markup Language \(SAML\) authentication type.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/customer-service-management/customer-self-service-and-omnichannel-engagement/create-identity-providers-for-engagement-messenger.html
release: brazil
product: Customer Self-service and Omnichannel Engagement
classification: customer-self-service-and-omnichannel-engagement
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Set up Engagement Messenger, Set up self-service, Configure, Customer Service Management]
---
# Create an identity provider \(IdP\) for Engagement Messenger
Create an IdP for your Engagement Messenger so that you can enable customer authentication. You can create an IdP for either the OpenID Connect \(OIDC\) or Security Assertion Markup Language \(SAML\) authentication type.
## Before you begin
Role required: admin
## About this task
If you previously configured an IdP, you can ignore this task and reuse the existing IdP.
**Note:** If you have configured multiple IdPs on your instance and want to select a specific IdP for your Engagement Messenger module, do the following:
- [Enable Engagement Messenger on a website when third-party application cookies are blocked](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/customer-service-management/customer-self-service-and-omnichannel-engagement/allowlist-em-third-party-website.md)
- [Configure a custom URL with an identity provider](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/custom-url-with-multiple-identity-providers.md)
- If you have multiple IdPs on your instance:
- In case of OIDC authentication type, the generated ID token should contain the client ID of a IdP record against which authentication is required.
- In case of SAML authentication type, set the particular IDP record as Auto-redirect IdP.
**Note:** For more information, see [Setting up auto login and logout for Engagement Messenger](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1560205).
## Procedure
1. Navigate to **All** > **Multi-Provider SSO** > **Identity Providers**.
2. Select **New**.
3. Select either **OpenID Connect** or **SAML**.
- If you select **OpenID Connect**, follow the procedure in [Create an OpenID Connect \(OIDC\) configuration for Single Sign-On \(SSO\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/create-OIDC-configuration-SSO.md).
- If you select **SAML**, follow the procedure from step 3 in [Create and update identity providers](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/t_CreateUpdateIdentityProvider.md).
## What to do next
- When customers sign in to your website where the Engagement Messenger module is deployed, they must also be authenticated within the messenger. User authentication is done by using the same IdP that authenticated the customer's login into your website.
You must verify that the customers of your website are also added in your OIDC or SAML authentication provider for the ServiceNow instance.
- Enable cross-domain requests between Engagement Messenger and your website. For more information, see [Configure a CORS rule for Engagement Messenger](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/customer-service-management/customer-self-service-and-omnichannel-engagement/create-cors-for-rest-api-ec.md).
**Related topics**
[How to set up OIDC provider on ServiceNow instance](https://support.servicenow.com/kb_view.do?sysparm_article=KB0778342)
| title | Create an identity provider \(IdP\) for Engagement Messenger |
| description | Create an IdP for your Engagement Messenger so that you can enable customer authentication. You can create an IdP for either the OpenID Connect \(OIDC\) or Security Assertion Markup Language \(SAML\) authentication type. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/customer-service-management/customer-self-service-and-omnichannel-engagement/create-identity-providers-for-engagement-messenger.html |
| release | brazil |
| product | Customer Self-service and Omnichannel Engagement |
| classification | customer-self-service-and-omnichannel-engagement |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Set up Engagement MessengerSet up self-serviceConfigureCustomer Service Management |