---
schema_version: "1"
id: 23bff352692280f3d445895a5c293e592f815fbad3ef704fbc7eb895c00cc6da
title: Prepare cloudformation Template
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/voice_cloudformation_template.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.voice_cloudformation_template.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 20ddbe94b436352e6eed84d00f358421d1d6c5516f3411475c7c931ab429434c
description: You must prepare the cloudformation template after creating the AWS resources.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Prepare cloudformation Template

You must prepare the cloudformation template after creating the AWS resources.

### Required Editions

This article applies to:

- Salesforce Voice with Partner Telephony from Amazon Connect (Voice manually integrated with your Amazon Connect instance by importing the contact center definition XML file)

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></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;release=264.0.0&amp;type=5" title="Learn about the user interfaces, editions, and add-ons that support Voice solutions by Salesforce.">View supported editions</a>.</td></tr></tbody></table>

1. Example Cloudformation templates are available in [Git](https://github.com/service-cloud-voice/ServiceCloudVoiceLambdas). In the Cloudformation stack, replace the template URL with the correct object URL.
    
    Because you have created your own S3 bucket, hardcode the URL according to your S3 bucket. It is recommended to maintain version as in the example, `TemplateURL: !Sub "https://<customerSpecifiedS3Bucket>.amazonaws.com/${SalesforceRelease}/EventRulesStack${Version}.yaml"`.
2. Upload the Cloudformation stacks to the S3 bucket you have created.
    
    The `BYOATenantStack` and `BYOAContactCenterStack` cloudformation templates look for nested stacks in the S3 bucket you have specified. The lambda artifacts and its layers are fetched from the Salesforce hosted S3 bucket, that is, `prod-byoa-scv-resources-<Aws Region` for Contact Center>.