<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://all.docs.genesys.com/index.php?action=history&amp;feed=atom&amp;title=PEC-DC%2FCurrent%2FDCPEGuide%2FProvisionEmail</id>
	<title>PEC-DC/Current/DCPEGuide/ProvisionEmail - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://all.docs.genesys.com/index.php?action=history&amp;feed=atom&amp;title=PEC-DC%2FCurrent%2FDCPEGuide%2FProvisionEmail"/>
	<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-DC/Current/DCPEGuide/ProvisionEmail&amp;action=history"/>
	<updated>2026-05-16T22:19:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-DC/Current/DCPEGuide/ProvisionEmail&amp;diff=124277&amp;oldid=prev</id>
		<title>Balaji: Published</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-DC/Current/DCPEGuide/ProvisionEmail&amp;diff=124277&amp;oldid=prev"/>
		<updated>2022-07-11T04:31:34Z</updated>

		<summary type="html">&lt;p&gt;Published&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Article&lt;br /&gt;
|Standalone=No&lt;br /&gt;
|DisplayName=Setting up Integration for Outbound Email Campaigns&lt;br /&gt;
|TocName=Setting up Integration for Outbound Email Campaigns&lt;br /&gt;
|Context=Learn how to enable Email connectivity for outbound campaigns.&lt;br /&gt;
|ComingSoon=No&lt;br /&gt;
|Platform=GenesysEngage-onpremises&lt;br /&gt;
|Role=Administrator, Developer&lt;br /&gt;
|Section={{Section&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext={{NoteFormat|“Nexus” is the simplified name we use for the Digital Channels application and APIs, so you’ll see that name referenced in this document.|}}Genesys Multicloud CX supports outbound email interactions using one of these three options: built-in connector to SparkPost email provider, a custom gateway built with a third-party email API or orbuilt-in connector to Genesys Cloud CX aggregation service.[[File:Digitalchannels provision sparkpost email.png]]After completing the setup steps on this page, you will be able to:&lt;br /&gt;
&lt;br /&gt;
*Send Email in your outbound campaigns through CX Contact.&lt;br /&gt;
&lt;br /&gt;
To get started, complete the configuration steps for '''one''' of the following scenarios:&lt;br /&gt;
&lt;br /&gt;
*{{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=SparkPostemail|display text=Set up Digital Channels to use SparkPost Email}} OR&lt;br /&gt;
*{{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=customgateway|display text=Set up Digital Channels to use a Custom Gateway}} OR&lt;br /&gt;
*{{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=enableMA|display text=Set up Digital Channels to use Genesys Cloud CX Agreegation}}&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Option 1: Set up Digital Channels to use SparkPost Email&lt;br /&gt;
|anchor=SparkPostemail&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Complete the steps in this section to set up Digital Channels to use SparkPost email provider.&lt;br /&gt;
&lt;br /&gt;
#Review the {{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=SparkpostPrerequisites|display text=prerequisites}} table.&lt;br /&gt;
#Use the Digital Channels provisioning API to {{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=SparkpostCustomServices|display text=create Digital Channels services definitions}}.&lt;br /&gt;
#{{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=provisionemail|display text=Provision email domains}}.&lt;br /&gt;
{{AnchorDiv|SparkpostPrerequisites}}&amp;lt;div class=&amp;quot;pdf-table-landscape&amp;quot;&amp;gt;&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
Review the '''Prerequisites''' table and make sure you have all the listed information before you get started. The values in this table are referenced later by the name in the Variable column.&lt;br /&gt;
{{{!}} class=&amp;quot;wikitable pdf-table-landscape&amp;quot;&lt;br /&gt;
{{!}}+Prerequisites&lt;br /&gt;
!Parameter&lt;br /&gt;
!Variable&lt;br /&gt;
!Type&lt;br /&gt;
!Example&lt;br /&gt;
!Notes&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Contact Center Id&lt;br /&gt;
{{!}}$ccid&lt;br /&gt;
{{!}}UUID string&lt;br /&gt;
{{!}}45acae06-6b7c-4f97-9c76-471cb5c21bf7&lt;br /&gt;
{{!}}This value comes from your Web Services and Applications deployment.&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Digital Channels URL&lt;br /&gt;
{{!}}$baseURL&lt;br /&gt;
{{!}}string&lt;br /&gt;
{{!}}&amp;lt;nowiki&amp;gt;http://digital.example.com&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{!}}Publicly available URL for Digital Channels API.&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}SparkPost API URL&lt;br /&gt;
{{!}}$sparkpostURL&lt;br /&gt;
{{!}}string&lt;br /&gt;
{{!}}Secret&lt;br /&gt;
{{!}}URL for SparkPost email API.&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}SparkPost apikey&lt;br /&gt;
{{!}}$sparkpostApikey&lt;br /&gt;
{{!}}UUID string&lt;br /&gt;
{{!}}Secret&lt;br /&gt;
{{!}}API key for using SparkPost email API.&lt;br /&gt;
{{!}}}&amp;lt;/div&amp;gt;{{AnchorDiv|SparkpostCustomServices}}&lt;br /&gt;
===Create Digital Channels services definitions===&lt;br /&gt;
In this step, you will enable Digital Channels to use SparkPost email services. You must configure the following services in Digital Channels within your tenant:&lt;br /&gt;
&lt;br /&gt;
*Email - Enables outbound email service through the third-party provider.&lt;br /&gt;
*SparkPostEmail - Integrates your Genesys Multicloud CX tenant to SparkPost for email communication.&lt;br /&gt;
{{NoteFormat|Use a REST client or curl utility to provision the following services in Digital Channels using the provisioning API. Make sure to substitute the variables - prefixed with '$' - with their values. You must create these services once per tenant.|}}Create the '''Email''' service:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
curl -X POST \ $nexusURL/nexus/v3/provisioning/services/$ccid/Email \&lt;br /&gt;
     -H 'Content-Type: application/json' \&lt;br /&gt;
     -H 'x-api-key: $apiKey' \&lt;br /&gt;
     -H 'x-ccid: $ccid' \ -d '{ &amp;quot;url&amp;quot; : &amp;quot;N/A&amp;quot;, &amp;quot;secret&amp;quot;: {}, &amp;quot;data&amp;quot; : { &amp;quot;provider&amp;quot;: &amp;quot;SparkPost&amp;quot; }'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Create the '''SparkPostEmail''' service:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
curl -X POST \ $nexusURL/nexus/v3/provisioning/services/$ccid/SparkPostEmail \&lt;br /&gt;
     -H 'Content-Type: application/json' \&lt;br /&gt;
     -H 'x-api-key: $apiKey' \&lt;br /&gt;
     -H 'x-ccid: $ccid' \&lt;br /&gt;
     -d '{ &amp;quot;url&amp;quot; : &amp;quot;$sparkpostURL&amp;quot;, &amp;quot;secret&amp;quot;: { &amp;quot;apikey&amp;quot;: &amp;quot;$sparkpostApikey&amp;quot;}, &amp;quot;data&amp;quot;: {} }'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{AnchorDiv|Sparkpostcustomemail}}&lt;br /&gt;
===Manage email domains===&lt;br /&gt;
{{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=provisionemail|display text=Provision email domains}} in Digital Channels.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Option 2: Set up Digital Channels to use a Custom Gateway&lt;br /&gt;
|anchor=customgateway&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Complete the steps in this section to set up Digital Channels to use a custom email gateway provider.&lt;br /&gt;
&lt;br /&gt;
#Review the {{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=CGPrerequisites|display text=prerequisites}} table.&lt;br /&gt;
#Use the Digital Channels provisioning API to {{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=CGCustomServices|display text=create Digital Channels services definitions}}.&lt;br /&gt;
#{{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=provisionemail|display text=Provision email domains}}.&lt;br /&gt;
{{AnchorDiv|CGPrerequisites}}&amp;lt;div class=&amp;quot;pdf-table-landscape&amp;quot;&amp;gt;&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
Review the '''Prerequisites''' table and make sure you have all the listed information before you get started. The values in this table are referenced later by the name in the Variable column.&lt;br /&gt;
{{{!}} class=&amp;quot;wikitable pdf-table-landscape&amp;quot;&lt;br /&gt;
{{!}}+Prerequisites&lt;br /&gt;
!Parameter&lt;br /&gt;
!Variable&lt;br /&gt;
!Type&lt;br /&gt;
!Example&lt;br /&gt;
!Notes&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Company's email domain&lt;br /&gt;
{{!}}$asyncEmailDomain&lt;br /&gt;
{{!}}string&lt;br /&gt;
{{!}}company.com&lt;br /&gt;
{{!}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Third-party Messaging Webhook URL&lt;br /&gt;
{{!}}$asyncWebhookURL&lt;br /&gt;
{{!}}string&lt;br /&gt;
{{!}}&amp;lt;nowiki&amp;gt;https://genesys-webhook.company.com&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{!}}The FQDN of the third-party service implementing the Third-Party Messaging Webhook.&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Third-Party Messaging API secret key&lt;br /&gt;
{{!}}$asyncAPISignatureKey&lt;br /&gt;
{{!}}string&lt;br /&gt;
{{!}}Secret&lt;br /&gt;
{{!}}The key used by the third-party service to calculate the signature for calls to the Third-Party Messaging API.&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Third-Party Messaging Webhook secret key&lt;br /&gt;
{{!}}$asyncWebhookSignatureKey&lt;br /&gt;
{{!}}string&lt;br /&gt;
{{!}}Secret&lt;br /&gt;
{{!}}The key used by Digital Channels to calculate the signature for calls to the third-party service through the webhook.&lt;br /&gt;
{{!}}}&amp;lt;/div&amp;gt;{{AnchorDiv|CGCustomServices}}&lt;br /&gt;
===Create Digital Channels services definitions===&lt;br /&gt;
In this step, you will enable Digital Channels to use a custom gateway for the email provider of your choice. You must configure the following services in Digital Channels within your tenant:&lt;br /&gt;
&lt;br /&gt;
*Async - Integrates your Genesys Multicloud CX tenant to the custom gateway used to communicate with the email provider of your choice.&lt;br /&gt;
*Email - Enables outbound email service through the third-party provider.&lt;br /&gt;
{{NoteFormat|Use a REST client or curl utility to provision the following services in Digital Channels using the provisioning API. Make sure to substitute the variables - prefixed with '$' - with their values. You must create these services once per tenant.|}}Create the '''Async''' service:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
curl -X POST \&lt;br /&gt;
  $nexusURL/nexus/v3/provisioning/services/$ccid/Async \&lt;br /&gt;
  -H 'Content-Type: application/json' \&lt;br /&gt;
  -H 'x-api-key: $apiKey' \&lt;br /&gt;
  -H 'x-ccid: $ccid' \&lt;br /&gt;
  -d '{&lt;br /&gt;
        &amp;quot;data&amp;quot;: {&lt;br /&gt;
          &amp;quot;channels&amp;quot;: [&lt;br /&gt;
            {&lt;br /&gt;
              &amp;quot;channelId&amp;quot;: &amp;quot;$asyncPhoneNumber&amp;quot;,&lt;br /&gt;
              &amp;quot;webhook&amp;quot;: { &amp;quot;url&amp;quot;: &amp;quot;$asyncWebhookURL&amp;quot; }&lt;br /&gt;
            },&lt;br /&gt;
            {&lt;br /&gt;
              &amp;quot;channelId&amp;quot;: &amp;quot;$asyncEmailDomain&amp;quot;,&lt;br /&gt;
              &amp;quot;webhook&amp;quot;: { &amp;quot;url&amp;quot;: &amp;quot;$asyncWebhookURL&amp;quot; }&lt;br /&gt;
            }&lt;br /&gt;
          ]&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;secret&amp;quot;: {&lt;br /&gt;
          &amp;quot;channels&amp;quot;: [&lt;br /&gt;
            {&lt;br /&gt;
              &amp;quot;channelId&amp;quot;: &amp;quot;$asyncPhoneNumber&amp;quot;,&lt;br /&gt;
              &amp;quot;webhook&amp;quot;: { &amp;quot;secret&amp;quot;: &amp;quot;$asyncWebhookSignatureKey&amp;quot; },&lt;br /&gt;
              &amp;quot;api&amp;quot;: { &amp;quot;secret&amp;quot;: &amp;quot;$asyncAPISignatureKey&amp;quot; }&lt;br /&gt;
            },&lt;br /&gt;
            {&lt;br /&gt;
              &amp;quot;channelId&amp;quot;: &amp;quot;$asyncEmailDomain&amp;quot;,&lt;br /&gt;
              &amp;quot;webhook&amp;quot;: { &amp;quot;secret&amp;quot;: &amp;quot;$asyncWebhookSignatureKey&amp;quot; },&lt;br /&gt;
              &amp;quot;api&amp;quot;: { &amp;quot;secret&amp;quot;: &amp;quot;$asyncAPISignatureKey&amp;quot; }&lt;br /&gt;
            }&lt;br /&gt;
          ]&lt;br /&gt;
        }&lt;br /&gt;
      }'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Create the '''Email''' service:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
curl -X POST \&lt;br /&gt;
  $nexusURL/nexus/v3/provisioning/services/$ccid/Email \&lt;br /&gt;
  -H 'Content-Type: application/json' \&lt;br /&gt;
  -H 'x-api-key: $apiKey' \&lt;br /&gt;
  -H 'x-ccid: $ccid' \&lt;br /&gt;
  -d '{&lt;br /&gt;
    &amp;quot;url&amp;quot; : &amp;quot;N/A&amp;quot;,&lt;br /&gt;
    &amp;quot;data&amp;quot; : { &amp;quot;provider&amp;quot;: &amp;quot;Async&amp;quot; },&lt;br /&gt;
    &amp;quot;secret&amp;quot;: {}&lt;br /&gt;
}'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;{{AnchorDiv|CGcustomphone}}&lt;br /&gt;
===Manage email domains===&lt;br /&gt;
{{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=provisionemail|display text=Provision email domains}} in Digital Channels.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Option 3: Set up Digital Channels to use Genesys Cloud CX Email Aggregation&lt;br /&gt;
|anchor=enableMA&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Complete the steps in this section to set up Digital Channels to use Genesys Cloud CX Messaging Aggregation as the Email gateway.&lt;br /&gt;
&lt;br /&gt;
#Review the {{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=GMAPrerequisites|display text=prerequisites}} table.&lt;br /&gt;
#Contact your Genesys representative to {{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=GMACloudOrg|display text=create a Genesys Cloud CX organization}} and get administrator user credentials. Your Genesys representative also must add the Genesys Cloud CX product to your organization.&lt;br /&gt;
#{{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=GMACredendials|display text=Create the Digital Channels integration in Genesys Cloud CX}}. This will give you a clientId and clientSecret to authenticate API calls with the Digital Channels provisioning API.&lt;br /&gt;
#{{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=GMAAPIkey|display text=Create a Digital Channels API key for Genesys Cloud CX}}.&lt;br /&gt;
#Use the Digital Channels provisioning API to {{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=GMAIntegration|display text=create Digital Channels services definition}}.&lt;br /&gt;
#{{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionEmail|anchor=provisionemail|display text=Provision email domains}}.&lt;br /&gt;
{{AnchorDiv|GMAPrerequisites}}&amp;lt;div class=&amp;quot;pdf-table-landscape&amp;quot;&amp;gt;&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
Review the '''Prerequisites''' table and make sure you have all the listed information before you get started. The values in this table are referenced later by the name in the Variable column.&lt;br /&gt;
{{{!}} class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
{{!}}+Prerequisites&lt;br /&gt;
!Parameter&lt;br /&gt;
!Variable&lt;br /&gt;
!Type&lt;br /&gt;
!Example&lt;br /&gt;
!Notes&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}GWS tenant Contact Center ID&lt;br /&gt;
{{!}}$ccid&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}UUID string&amp;lt;br /&amp;gt;&lt;br /&gt;
{{!}}45acae06-6b7c-4f97-9c76-471cb5c21bf7&lt;br /&gt;
{{!}}This value comes from your Web Services and Applications deployment.&lt;br /&gt;
{{!}}}{{AnchorDiv|GMACloudOrg}}&lt;br /&gt;
===Request a Genesys Cloud CX organization===&lt;br /&gt;
Contact your Genesys representative to create a Genesys Cloud CX organization and get administrator user credentials. Your Genesys representative also must add the Genesys Cloud CX  product to your organization.&lt;br /&gt;
&lt;br /&gt;
Make sure your Genesys representative provides you with the details in the '''Genesys Cloud CX information''' table.&lt;br /&gt;
{{{!}} class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
{{!}}+Genesys Cloud CX information&lt;br /&gt;
!Parameter&lt;br /&gt;
!Variable&lt;br /&gt;
!Type&lt;br /&gt;
!Example&lt;br /&gt;
!Notes&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Genesys Cloud CX Organization ID&lt;br /&gt;
{{!}}$orgId&lt;br /&gt;
{{!}}UUID string&lt;br /&gt;
{{!}}47d8329d-1c28-4c86-9374-5596bddfee15&lt;br /&gt;
{{!}}Your Genesys Cloud CX organization ID.&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Genesys Cloud CX Organization admin user credentials&lt;br /&gt;
{{!}}$orgUsername&lt;br /&gt;
$orgPassword&lt;br /&gt;
{{!}}string&lt;br /&gt;
{{!}}admin-user / admin-password&lt;br /&gt;
{{!}}The username and password for an account with administrative permissions for this organization.&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}Genesys Cloud CX Login URL&lt;br /&gt;
{{!}}$gcLoginURL&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}HTTPS URL string&lt;br /&gt;
{{!}}&amp;lt;nowiki&amp;gt;https://login.mypurecloud.com&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{!}}Your Genesys Cloud CX login URL (depends on your organization region).&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}Genesys Cloud CX API URL&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}$gcAPIURL&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}HTTPS URL string&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}&amp;lt;nowiki&amp;gt;https://api.mypurecloud.com&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}Your Genesys Cloud CX login URL (depends on your organization region).&lt;br /&gt;
{{!}}}&amp;lt;/div&amp;gt;{{AnchorDiv|GMACredendials}}&lt;br /&gt;
===Create the Digital Channels integration in Genesys Cloud CX===&lt;br /&gt;
Complete the steps in this section as an [https://help.mypurecloud.com/articles/get-started-administering-genesys-cloud/ administrator user in Genesys Cloud CX] to create the integration client credentials that will be used by Digital Channels to access Genesys Cloud CX APIs to send and receive messages. You're going to create a new role, assign it to your admin user, and create the access credentials.&lt;br /&gt;
&lt;br /&gt;
First, create the new role:&lt;br /&gt;
&lt;br /&gt;
#Navigate to $gcLoginURL (for example, [https://login.mypurecloud.com/ https://login.mypurecloud.com]) and log in to Genesys Cloud CX with your $orgUsername/$orgPassword.&lt;br /&gt;
#Go to '''Admin'''.&lt;br /&gt;
#Under '''People and Permissions''', click '''Roles/Permissions'''.&lt;br /&gt;
#Click '''Add Role''' and give it a name. For example, &amp;lt;code&amp;gt;Nexus Messaging&amp;lt;/code&amp;gt;.&lt;br /&gt;
#Under '''Permissions''', search for '''messaging''' and select '''messaging &amp;gt; All Permissions''' and '''messagingProvisioning &amp;gt; All Permissions'''. Save your changes.&lt;br /&gt;
&lt;br /&gt;
Next, assign the role to your administrator user:&lt;br /&gt;
&lt;br /&gt;
#Click '''Admin'''.&lt;br /&gt;
#Under '''People and Permissions''', click '''People'''.&lt;br /&gt;
#Search for your admin user.&lt;br /&gt;
#Under '''Roles,''' switch the view to '''All''' and search for the name of your new role (&amp;lt;code&amp;gt;Nexus Messaging&amp;lt;/code&amp;gt;). Click to enable the role and then save your changes.&lt;br /&gt;
#Log out and log in again to enable the permissions.&lt;br /&gt;
&lt;br /&gt;
Now create access credentials for the Digital Channels integration.&lt;br /&gt;
&lt;br /&gt;
#Click '''Admin'''.&lt;br /&gt;
#Under '''Integrations''', click '''OAuth'''.&lt;br /&gt;
#Click '''Add Client.'''&lt;br /&gt;
#Under '''Client Details''', set '''App Name''' to &amp;lt;code&amp;gt;Nexus Messaging Integration&amp;lt;/code&amp;gt; and select the Client Credentials '''Grant Type'''.&lt;br /&gt;
#Click '''Roles''' and assign the &amp;lt;code&amp;gt;Nexus Messaging&amp;lt;/code&amp;gt; role. Save your changes.&lt;br /&gt;
#Go back to '''Client Details''' and copy the values for '''clientId''' and '''clientSecret'''.&amp;lt;div class=&amp;quot;pdf-table-landscape&amp;quot;&amp;gt;As the output of this step, you will have the access credentials:&lt;br /&gt;
&lt;br /&gt;
{{{!}} class=&amp;quot;wikitable pdf-table-landscape&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Variable&lt;br /&gt;
!Type&lt;br /&gt;
!Example&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}Nexus Integration client ID&lt;br /&gt;
{{!}}$clientId&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}UUID string&lt;br /&gt;
{{!}}4da40a9de-b113-4024-8ba9-c9dd89c91f67&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}Nexus Integration client secret&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}$clientSecret&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}string&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}aKSXEgLO57cm6FqxD4hrjkcW-iuWiXhd0uF0WOcZUm2&lt;br /&gt;
{{!}}}{{AnchorDiv|GMAAPIkey}}&lt;br /&gt;
===Create a Digital Channels API key for Genesys Cloud CX===&lt;br /&gt;
To create an API key that will be used by Genesys Cloud CX to send requests to Digital Channels, follow the steps in {{Link-SomewhereInThisVersion|manual=DCPEGuide|topic=ProvisionAPI|display text=Provision API keys}}. Make sure to use the following parameters:&lt;br /&gt;
 &amp;quot;tenant&amp;quot;: &amp;quot;*&amp;quot;&lt;br /&gt;
 &amp;quot;name&amp;quot;:&amp;quot;Portico Cluster API Key&amp;quot;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;quot;permissions&amp;quot; : [&amp;quot;nexus:cluster:*&amp;quot;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
As an output of this step, you will have the API key:&lt;br /&gt;
{{{!}} class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Variable&lt;br /&gt;
!Type&lt;br /&gt;
!Example&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}Messaging Cluster API Key&lt;br /&gt;
{{!}}$apikey&lt;br /&gt;
{{!}} colspan=&amp;quot;1&amp;quot;{{!}}UUID string&lt;br /&gt;
{{!}}9b7682b7-cbce-422f-9bbb-ecda85e61695&lt;br /&gt;
{{!}}}{{AnchorDiv|GMAIntegration}}&lt;br /&gt;
===Create Digital Channels services definitions===&lt;br /&gt;
Enable Digital Channels to use Genesys Cloud CX Messaging Aggregation as the Email provider. You must configure the following services in Digital Channels within your tenant:&lt;br /&gt;
&lt;br /&gt;
*PurecloudIDP - Integrates the Genesys Multicloud CX tenant to the Genesys Cloud CX organization.&lt;br /&gt;
*PorticoEmail - Enables the outbound email service through Genesys Messaging Aggregation.&lt;br /&gt;
{{NoteFormat|Use a REST client or curl utility to provision the following services in Digital Channels using the provisioning API. Make sure to substitute the variables - prefixed with '$' - with their values. Note: You must create these services once per tenant.|}}Create the '''PurecloudIDP''' service:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
curl -X POST \&lt;br /&gt;
  $nexusURL/nexus/v3/provisioning/services/$ccid/PurecloudIDP \&lt;br /&gt;
  -H 'Content-Type: application/json' \&lt;br /&gt;
  -H 'x-api-key: $apiKey' \&lt;br /&gt;
  -H 'x-ccid: $ccid' \&lt;br /&gt;
  -d '{&lt;br /&gt;
    &amp;quot;url&amp;quot; : &amp;quot;$gcLoginURL&amp;quot;,&lt;br /&gt;
    &amp;quot;secret&amp;quot;: {&amp;quot;clientId&amp;quot;: &amp;quot;$clientId&amp;quot;, &amp;quot;clientSecret&amp;quot;: &amp;quot;$clientSecret&amp;quot;},&lt;br /&gt;
    &amp;quot;data&amp;quot; : {}&lt;br /&gt;
}'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Create the '''PorticoEmail''' service if you use Genesys Multicloud CX Contact email campaigns.&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
curl -X POST \&lt;br /&gt;
  $nexusURL/nexus/v3/provisioning/services/$ccid/PorticoEmail \&lt;br /&gt;
  -H 'Content-Type: application/json' \&lt;br /&gt;
  -H 'x-api-key: $apiKey' \&lt;br /&gt;
  -H 'x-ccid: $ccid' \&lt;br /&gt;
  -d '{&lt;br /&gt;
    &amp;quot;url&amp;quot; : &amp;quot;$gcAPIURL&amp;quot;,&lt;br /&gt;
    &amp;quot;secret&amp;quot;: {},&lt;br /&gt;
    &amp;quot;data&amp;quot;: {}&lt;br /&gt;
}'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Provision email domains in Digital Channels&lt;br /&gt;
|anchor=provisionemail&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Complete the steps in this section if you are integrating with CX Contact and plan to use email campaigns. These steps explain how to choose an email domain that you control (you should be able to update DNS record sets for this domain) and want to use in email campaigns as the &amp;quot;sent from&amp;quot; address.&lt;br /&gt;
&lt;br /&gt;
If you are using Genesys Cloud CX as the provider, contact your Genesys representative to have them provision an email domain in Genesys Cloud CX for your organization. Once completed, you will receive a set of secrets you must use to update your domains records. After this update, contact your Genesys representative to validate the secrets and confirm domain ownership. Now you can provision an email service channel.&lt;br /&gt;
&lt;br /&gt;
Complete the following for each domain only after your domain records have been updated, validated, and provisioned in Genesys Cloud CX.&lt;br /&gt;
&lt;br /&gt;
#In Agent Setup, navigate to the &amp;quot;NexusServices&amp;quot; [[PEC-DC/Current/DCPEGuide/PreConfig#transactions|transaction you created previously]].&lt;br /&gt;
#Create a section that starts with 'cxc.' and includes some text that represents the domain. For example, &amp;lt;code&amp;gt;cxc.Coraporate_Promotions&amp;lt;/code&amp;gt;. Note: The 'cxc.' prefix is required and the rest of the value can be made up of letters and underscore or dashes, but not spaces.&lt;br /&gt;
#In this new section, create the following options:&lt;br /&gt;
#*channelId = '''$emailDomain'''&lt;br /&gt;
#*channelType = email&lt;br /&gt;
#*provider = Async (Only set this option if you use a custom gateway as the email aggregator.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|Status=No&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Balaji</name></author>
		
	</entry>
</feed>