---
schema_version: "1"
id: 43903d4d4ee9c99099314c0bac1bb355834a4a858d4619a5dae2101b386f792e
title: Create Contact Center Connectivity from Lambda Function
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/voice_flex_cc_lambda.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.voice_flex_cc_lambda.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b0a69bcf272b17d32d0d7ad6d824030547472dd54f9d757e7f336bbb42675914
description: If you have added the UpdateCredentialRole attribute in the contact center definition file, use the Update Key option in the Contact Center details page to update the JWT key. If you haven't added the UpdateCredentialRole attribute in the contact center definition file, you must generate a self-signed sertificate with OpenSSL and update the contact center definition file based on the value.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Create Contact Center Connectivity from Lambda Function

If you have added the UpdateCredentialRole attribute in the contact center definition file, use the Update Key option in the Contact Center details page to update the JWT key. If you haven't added the UpdateCredentialRole attribute in the contact center definition file, you must generate a self-signed sertificate with OpenSSL and update the contact center definition file based on the value.

### Required Editions

See [Prepare Contact Center Definition File](https://help.salesforce.com/s/articleView?id=service.voice_flex_ccd.htm&type=5&language=en_US) for the list of attributes.

Next, save your private key to the AWS Parameter Store if you’re using contact center version 18 and earlier. For version 19 and later, save your secrets in the AWS Secrets Manager.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.voice_editions.htm&amp;type=5&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

This article applies to:

- Service Cloud Voice with Partner Telephony from Amazon Connect

- **[Generate a Self-Signed Certificate with OpenSSL](https://help.salesforce.com/s/articleView?id=service.voice_ac_generate_cert.htm&release=264.0.0&type=5)**  
    Use OpenSSL to generate an RSA private key and two certificates. You need one certificate to set up a secure connection between Amazon Connect and Salesforce and another certificate for the REST API integration. Repeat the steps to create both certificates. After generating the certificates, update your contact center definition file based on the certificate value if you've manually integrated your contact center.
- **[Save Your Private Key in AWS Account](https://help.salesforce.com/s/articleView?id=service.voice_save_key_aws.htm&release=264.0.0&type=5)**  
    If you’re using contact center version 19 and later, save your private key from your self-signed certificate in the AWS Secrets Manager. For contact center versions 18 and earlier, add the private key to the AWS Parameter Store.