Quickstart
Conversation Recordings
Enable conversation recording and store it in your S3 bucket for on-demand access.
Prerequisite
Ensure that you have the following:
- An S3 bucket with versioning enabled.
Enable Conversation Recording
1
Step 1: Set up IAM Policy and Role
- Create an IAM Policy with the following JSON definition:
Note: Replace your-bucket-name with your actual bucket name.
- Create an IAM role with the following value:
- Select “Another AWS account” and enter this account ID: 291871421005.
- Enable “Require external ID”, and use: tavus.
- “Max session duration” to 12 hours.
Note: Note down your ARN (e.g., arn:aws:iam::123456789012:role/CVIRecordingRole
).
2
Step 2: Get an API Key
- Go to the Tavus platform and select API Key from the sidebar menu.
- Click Create New Key to begin generating your API key.
- Enter a name for the key and (optional) specify allowed IP addresses, then click Create API Key.
- Copy your newly created API key and store it securely.
We cannot recover your API Key if you lose it.
3
Step 3: Create a Conversation with Recording Enabled
Use the following request body example:
Remember to change the following values:
<api_key>
: Your actual API key.aws_assume_role_arn
: Your AWS ARN.recording_s3_bucket_region
: Your S3 region.recording_s3_bucket_name
: Your S3 bucket name.
cURL
Note: enable_recording
allows recording to be possible, but it doesn’t start recording automatically. To begin and end recordings, users must do it manually or trigger it through frontend code.
4
Step 4: Join the Conversation
To join the conversation, click the link in the conversation_url
field from the response:
Note: You can access the recording file in your S3 bucket.