Summary: ◀▼
Set up Contact Center on your own AWS account by provisioning the AWS environment, configuring SAML SSO, connecting your account, and validating access before handoff. You’ll also test inbound and outbound calling, recordings, and transcription, then clean up test resources. This setup is for admins managing a BYOA deployment with Amazon Connect, API tokens, Lambda triggers, and telephony validation.
Use this guide when setting up Zendesk Contact Center on an AWS account that you provide and manage (Bring Your Own Account - BYOA). In this deployment model, you purchase AWS services directly from AWS and are responsible for your AWS account and Amazon Connect environment. Use these steps to provision your AWS environment, configure Amazon Connect and SAML single sign-on (SSO), connect your Zendesk account, and validate the deployment before handoff.
Before you begin, make sure you have:
- Administrator access to the AWS account
- Administrator access to the Zendesk account and its valid subdomain, such as
example.zendesk.com - An active Contact Center license
This article contains the following topics:
- Step 1: Deploy Connect infrastructure stack
- Step 2: Deploy Contact Center infrastructure stack
- Step 3: Configure SSO for Amazon Connect
- Step 4: Configure Connect Access and Validate Settings
- Step 5: Configure Zendesk Access and Validate Settings
- Step 6: Activate recordings on AWS
- Step 7: Test telephony capabilities
- Step 8: Clean up (Optional)
Related articles:
Step 1: Deploy Connect infrastructure stack
First, create the Amazon Connect foundation in your AWS account by deploying the Connect infrastructure stack.
To deploy the Connect infrastructure stack
-
Sign into your AWS account.
-
Navigate the CloudFormation console and select Create stack > With new resources (standard).

-
On the next screen:
-
Select Choose an existing template
-
Select Amazon S3 URL
-
Enter:
https://zendesk-contact-center-us-east-1.s3.amazonaws.com/connect/cfn.yaml -
Click Next

-
-
On the next screen:
-
Enter a Stack name
-
Enter an InstanceAlias
-
Enter your ZendeskDomain: For example,
foo.zendesk.com. -
Click Next
Tip: Leave SamlXmlDocument blank.
-
-
On the next screen check the three required acknowledgements, then click Next.

-
Review the stack configuration and click Submit to create the stack.
Step 2: Deploy Contact Center infrastructure stack
Next, deploy the Contact Center components that connect your Amazon Connect instance to Zendesk.
To deploy the core Contact Center infrastructure stack
-
Request the CloudFormation template to deploy the Contact Center core solution from Zendesk partner support along with Amazon Connect Customer instance ARN.
-
Zendesk will generate a new CloudFormation template based on the Connect instance ARN and provide a link for it. Assuming you are already logged into your AWS account, simply click on the link.
-
You should be taken directly to the CloudFormation console where you can review the stack parameters.
-
Acknowledge the access capability disclaimers and click Next.
-
Review the stack configuration and click Submit to create the stack.
-
Once the Contact Center core infrastructure stack has been deployed, inform Zendesk partner support so they can activate it.
Step 3: Configure SSO for Amazon Connect
Contact Center users access Amazon Connect services through Zendesk. In this guide, you can use any identity provider (IdP) supported by Zendesk for users to sign in to Zendesk, and Zendesk then brokers their access to your Amazon Connect environment. For an overview of the Zendesk-mediated federation flow, see Understanding single sign-on for Contact Center. For Zendesk sign-in options, see Giving users different ways to sign into Zendesk and Enabling SAML single sign-on. The AWS steps in this step configure the Zendesk-mediated federation from Zendesk to Amazon Connect. For more information about accessing Amazon Connect and the AWS Management Console from Contact Center, see Accessing Amazon Connect and AWS Console from Contact Center.
3.1 Create identity provider for Connect
Create the AWS IAM identity provider that trusts the SAML metadata supplied by Zendesk. This is separate from your corporate IdP, which is configured for Zendesk sign-in.
To create the identity provider for Connect
-
From the AWS Console navigate to IAM.
-
Select Identity Providers on the left (under Access Management) and then click Add Provider.
-
Ensure that the Provider type is set to SAML and then enter a name for the provider. It is recommended to use a name such as
${connect-alias}-idp. -
Then, under Metatadata document click the Choose file button and upload the XML metadata file provided by Zendesk.
-
Click Add Provider
3.2 Create the SSO federation IAM policy for Connect
Define the permissions that Zendesk-federated users need when they access the Amazon Connect instance.
To create the SSO federation IAM policy for Connect
-
Select Policies under IAM Access Management, then click Create Policy.
-
Switch to the JSON view and enter the JSON content below.
Be sure to replace the [AMAZONCONNECTARN] placeholder (including the square brackets) with your Connect instance’s ARN before saving the policy
{ "Version": "2012-10-17", "Statement": [ { "Sid": "Statement1", "Effect": "Allow", "Action": "connect:GetFederationToken", "Resource": [ "[AMAZONCONNECTARN]/user/${aws:userid}" ] } ] } -
Click Next.
-
Enter a policy name such as
${connect-alias}-sso-federation-policy. -
Click Create policy.
3.3 Create SSO federation IAM role for Connect
Create the IAM role that Amazon Connect uses to authorize access from Zendesk's federation flow.
To create SSO federation IAM role for Connect
-
Select Roles under IAM Access Management, then click Create Role.
-
Select SAML 2.0 federation for the role type.
-
Select the Identity Provider created in Step 3.1 as the SAML 2.0-base provider.
-
Ensure Allow programmatic and AWS Management Console access is selected with a non-regional endpoint, then click Next.

-
On the next page, add the policy created in step 3.2.
-
Enter a name for the role. For example,
${connect-alias}-sso-connect.
3.4 Information required by Zendesk
Send the federation values to Zendesk so Zendesk can finish connecting your Amazon Connect instance to Contact Center.
Provide the following information to Zendesk to complete the SSO setup:
-
The SAML Aud from the role created in 3.3 , which can found in the role’s trust policy
-
The ARN of the role created in 3.3
-
The ARN of the identity provider created in 3.1
-
The Connect Instance Relay State URL based on the following format:
https://[REGION].console.aws.amazon.com/connect/federate/[CONNECT_INSTANCE_ID]
-
The SAML Login URL as
[ZENDESK_INSTANCE_URL]/access/saml/idp/connect
https://mydomain.zendesk.com/access/saml/idp/connect.Step 4: Configure Connect Access and Validate Settings
In this step, you'll validate approved origins, configure a test user, claim a test phone number, and optionally enable outbound dialing in your Amazon Connect instance.
4.1 Validate Approved Origins
Confirm that the Zendesk and Contact Center domains are allowed to communicate with the Amazon Connect instance.
To validate approved origins
- Navigate to AWS Management Console > Amazon Connect, then select your instance alias.
- Click Approved Origins, then validate that the following 3 domains are
present. If any are missing, add them manually:
example.zendesk.comhttps://1162892.apps.zdusercontent.comhttps://1162894.apps.zdusercontent.com

4.2 Configure test user
Create a test Amazon Connect user whose login matches the corresponding Zendesk user. This lets you verify the federated access flow before testing calls.
To configure a test user
-
Navigate to the Overview page and click the Log in for emergency access link:

-
From the Connect Dashboard, navigate to the User Management and click Add new users.

-
From the Add user page:
-
Enter the First name
-
Enter the Last name
-
Enter the Login (this must match the corresponding Zendesk user’s primary email address exactly, which is case-sensitive)
-
Select the Security profile permissions (Admin, Agent, etc.)
-
Select a Routing profile (Basic Routing Profile)
-
Click Save
-

4.3 Claim Test Phone Number
Claim a temporary number and route it to the sample inbound flow so you can test telephony.
To claim a test phone number
-
Navigate to the Phone numbers page and click on Claim a number as shown here:

-
On the Claim Phone number page:
-
Select Voice as the channel if it isn’t already selected by default
-
Click on the DID tab (Toll free is fine, but DIDs are cheaper for testing purposes)
-
Select the country
-
Select an available phone number from the list
-
Select the “Sample inbound flow (first contact experience)” contact flow supplied by Amazon Connect
-
Click on Save
-
4.4 Enable Outbound Dialing (Optional)
If outbound calling is part of your validation plan, assign the test number as the caller ID for the basic queue.
To enable outbound dialing
-
To test outbound calling capabilities, navigate to the Queues page and click on BasicQueue.

-
On the Edit BasicQueue page, scroll down to the Settings - optional.
-
Search for and select the phone number you claimed in the 4.3 and click Save.

Step 5: Configure Zendesk Access and Validate Settings
In this step, you'll test SSO, generate and apply a Zendesk API token, and configure call recordings.
5.1 Test SSO Login
Verify that a Zendesk user can sign in with your chosen Zendesk authentication method and then open Contact Center. The authentication method is configured in Zendesk; Contact Center uses Zendesk's federation flow to provide access to the connected AWS services.
For more information, see Understanding single sign-on for Contact Center.
To test SSO login
-
Log into the target Zendesk account.
-
Once logged in, allow access to camera, microphone and sound if/when prompted.
-
Click on the phone icon on the top-right

5.2 Generate API Token
Create a Zendesk API token for the Contact Center integration to use when connecting your Amazon Connect environment to Zendesk.
To generate an API token
-
From the Zendesk Support page, click on the Support dropdown menu on the top-left and select Admin center.

-
Form Admin center, click on the Apps and Integrations icon, select API tokens and click on Add API token.

-
Copy the newly generated token and save it for the next procedure:

5.3 Apply API token and configure recordings
Apply the token in Contact Center and choose the recording and transcription settings needed for testing.
To apply API tokens and configure recordings
-
From the Zendesk Support page, click on the Support dropdown menu on the top-left and select Contact center.

-
From the Overview page, scroll down to the Zendesk Connection area, select your user from the dropdown and paste the API token created in Step 5.2 under API key.

-
Click Save.
-
From the Contact center page, click on Tickets, select Unredacted call recording and Unredacted call transcript.
Note: These settings can be changed later by you or your partner as needed. We choose unredacted recordings and transcripts here strictly for testing purposes.Important: You may need to edit the Sample inbound flow (first contact experience) contact flow to ensure the Set recording, analytics, and processing behavior block is configured accordingly as shown below. Note that you’ll need to configure the appropriate redaction parameters on this block and ensure Contact Lens is enabled on your Connect instance to test redaction.
-
Click Save.
Step 6: Activate recordings on AWS
In this step, you'll validate the recording settings and enable the AWS Lambda triggers that process recordings and transcripts.
6.1 Validate Recording Settings
Check the AWS configuration created for Contact Center and confirm that it matches the recording settings selected in Step 5.3.
To validate the recording settings
-
From the AWS Console, navigate to the Secrets Manager, locate the secret created by the Contact Center deployment in Step 2 and click on it.

-
From the Secret details page, scroll down to the Secret value area and click on the Retrieve secret value button to display the Secret’s value.
-
If the API token was applied correctly in Step 5.3, you should see a token value similar to this one:

-
Click Close.
-
Navigate to Systems Manager Parameter Store and locate the following parameters.
-
zendesk-voice-save-recording
-
zendesk-voice-save-transcript

-
-
Click on each of the parameters and verify that the value is “unredacted” as configured in Step 5.3.

6.2 Enable Lambda Triggers
Enable the event triggers that move recording and transcription data through the Contact Center processing flow.
To enable the Lambda triggers
-
Navigate to the Lambda console in AWS and locate the following Functions:
-
RecordingIngestLambda
-
ContactLensEventsLambda
-
CTRIngestLambda
-
ZendeskVoicePostCall
-
TranscriptIngestLambda

-
-
Click on each of the functions listed above and enable its Kinesis and/or EventBridge triggers:
-
For EventBridge triggers:
-
Click on the Configuration tab
-
Click on Triggers from the menu on the left
-
Click on the EventBridge trigger link

-
From the EventBridge Rule details page click on the Enable button at the top.

-
Navigate back to the function details page and refresh the trigger panel to verify the EventBridge trigger has been enabled.

-
-
For Kinesis triggers:
-
Click on the checkbox next to the Kinesis trigger
-
Click on the Edit button

-
From the Edit trigger page, click on the Activate trigger checkbox to enable the trigger and then click Save.

-
Verify that the trigger was enabled.

-
-
Step 7: Test telephony capabilities
In this step, you'll verify federated access, then test inbound and outbound calling.
7.1 Test federated access to Amazon Connect & AWS
Confirm that the Zendesk login services provide the required access to the Amazon Connect Dashboard and AWS Management Console when using the Zendesk-mediated federation configured in Step 3. If you also configured direct federation from your corporate IdP to AWS, test that additional access path according to your AWS identity configuration.
To test federated access to Amazon Connect and AWS
-
Log out of the AWS Console unless logged into it from an incognito browser tab.
-
Log out of and back into your Zendesk account.
-
Navigate to the Contact center configuration console.
-
From the Overview page:
-
Click on the Amazon Connect Dashboard link to further validate federated access to the Connect Dashboard.
-
Click on the AWS Console link to verify access to the AWS Console.
-
For example:

7.2 Test inbound calling
Test the complete inbound path from the temporary phone number through Amazon Connect, the agent workspace, and the Zendesk ticket.
To test inbound calling
-
From the Support page in Zendesk, click on the user icon on the top-right corner and select Online to change the agent status to available.

-
Place a call to the phone number claimed in Step 4.3. Follow the menu options offered by Amazon Connect to be placed in queue and transferred to an agent.
-
Accept the incoming call, and close the notification presented as shown here:

-
Speak a few words to validate the recording and call transcription once, then end the call.
-
Click the Finish wrap-up button to close the Amazon Connect contact .

-
Wait a few minutes to verify that the call recording and transcription are appended to the ticket as shown below (this may take up to 4-5 minutes):

7.3 Test outbound calling
Test the outbound calling workflow from the Contact Center agent workspace and confirm that the call can be completed successfully.
To test outbound calling
-
From the Support page in Zendesk, click on the phone icon. Enter a phone number and click Call to dial an outbound call as shown here:

-
Once the call is connected and your phone rings, click on the End button to hang up.

-
Click on Finish wrap-up in the pop-up window to close out the contact.
Step 8: Clean up (Optional)
When testing is complete, remove the temporary resources and test data that are no longer needed.
To clean up the test resources
-
Clear the Outbound caller ID number from the BasicProfile routing profile in Amazon Connect.
-
Release the phone number claimed in Step 4.3 since it was only intended for testing purposes.
-
Delete any tickets created in Zendesk as part of testing and validation.