Loading
Salesforce now sends email only from verified domains. Read More
Agentforce Contact Center
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set Up Multi-Org Contact Centers

          Set Up Multi-Org Contact Centers

          Execute the CloudFormation templates and import XML files to configure your AWS account and Salesforce orgs to set up multi-org contact centers.

          This article applies to:

          • Service Cloud Voice with Partner Telephony from Amazon Connect (Voice manually integrated with your Amazon Connect through XML import)

          Make sure that you have a Connect Instance. If not, create a Connect Instance, and note the login URL.

          Important
          Important Connected apps creation is restricted as of Spring ‘26. You can continue to use existing connected apps during and after Spring ‘26. However, we recommend using external client apps instead. If you must continue creating connected apps, contact Salesforce Support.

          See New connected apps can no longer be created in Spring ‘26 for more details.

          1. In your AWS account, create a S3 bucket to store SAML metadata, for example, scv-saml-metadata-<AWS_ACCOUNT_ID>.
          2. In your AWS account, create a S3 bucket to store cloudformation templates available on GitHub, for example, scv-enterprise-resources-<AWS_ACCOUNT_ID>.
          3. Create a Connected App in Salesforce. To create a Connected App, use the create option available in the Settings under External Client Apps section.
          4. If you use Salesforce as an Identity Provider, download the metadata document and upload it to your SAML metadata S3 bucket.
          5. Prepare cloudformation templates. Modify the TemplateURL for nested stack with the object URL stored in the S3 bucket scv-enterprise-resources-<AWS_ACCOUNT_ID>. Replace the placeholder CUSTOMERDEFINEDS3BUCKETNAME with the name of your S3 bucket. If you aren't using the same URL convention, you must replace the entire URL.
          6. (Optional) Run the cloudformation templates to create a contact center through XML import. This step is required if you haven't configured your Amazon Connect instance with a S3 bucket, CTR (contact record) Stream, and Contact Lens. Otherwise, directly go to step 7 to create a multi-org contact center.
            1. Create BYOATenantStack. This stack is used to create IAM roles and cloudTrail global resources. Create this stack only once and can be updated as required.
            2. Create BYOAIDPStack. This stack is used to create the Identity Provider. This input for this is a metadata document which is uploaded to Customer owned S3 bucket.
            3. Create a BYOAContactCenterStack using the SAML metadata used in step 1. This stack creates the S3 bucket to store the recordings, the CTRStream for contact records, and contact Lens stream real-time transcription. This stack also creates Lambda functions and secrets.
            4. Update the custom attributes in your Salesforce Connected App.
            5. Use the import.xml file to create the contact center in Salesforce. Make sure to copy all the required ARNs correctly from your AWS account.
          7. Create and configure ‌multi-org contact centers.
            1. Run the BYOAIDPStack. Run this stack every time you add a new contact center in the multi-org setup.
            2. Run the MultiprgProvisioningServiceStack. This stack creates the common Lambda functions shared by all the contact centers in the multi-org setup. Run this stack only once for each multi-org setup.
            3. Run the MultiOrgConnectConfigurationStack. This stack configures the Amazon Connect instance with org-specific information like secrets and approved origins. Run this stack every time you add a new contact center in the multi-org setup, and make sure to change the input parameters in the stack accordingly.

            In the multi-org setup, the Lambda functions does not have the secret name configured as an environment variable. The secret name must be passed from the Amazon Connect Contact Flow to the Lambda function. In your Amazon Connect Contact Flow, define an attribute where the key is secretName and the value is the secret name created by the MultiOrgConnectConfigurationStack for the specific org. Because the secret is org-specific, you must implement the required branching logic within the Contact Flow to send calls to the correct Salesforce org and, set the secretName contact attribute before invoking any Lambda functions.

            The BYOAContactCenterStack creates the secret for the first Salesforce org. The MultiOrgConnectConfigurationStack creates the org-specific secrets for all subsequent orgs added in the multi-org setup.

            Use the import.xml file to create the contact center in Salesforce. Make sure to copy all the required ARNs correctly from your AWS account.
          Note
          Note Execute the cloudformation templates with the tag "aws:ResourceTag/resourceOwner": "scv" to make sure that the resources created by the template are correctly tagged.

          In the MultiorgProvisioningServiceStack template, the value of the callcenterApiName and lambdaPrefix parameter must be the same.

          When you run the BYOAContactCenterStack template, the value you provide for the tenant S3 bucket is a prefix. The stack automatically creates the S3 bucket with the full name in <your-prefix>-<AWS-Account-ID> format. You must use this full S3 bucket name when running the MultiorgProvisioningServiceStack template.

           
          Loading
          Salesforce Help | Article