1. Home
  2. Docs
  3. TikTok Lead Generation Ad...
  4. Step 2: Set up data desti...
  5. Option 6: Set up AWS S3 as Data Destination for TikTok Lead Ads

Option 6: Set up AWS S3 as Data Destination for TikTok Lead Ads

Video Walkthrough

Description  

Amazon S3 (Simple Storage Service) is a scalable cloud storage service from AWS that allows you to store, retrieve, and manage data securely from anywhere. With this setup, Datahash will automatically export your TikTok Lead Ads data to your S3 bucket at your chosen frequency.


Prerequisites  

Before starting, make sure you have:

  • S3 Bucket Name – Your unique storage container name in AWS S3
  • S3 Access Key – Access Key ID for authentication
  • S3 Secret Key – Secret Access Key for authentication
  • Relative Path to Data Folder (optional — if not provided, data will be stored at bucket root)
  • An existing TikTok Lead Ads Source connection in Datahash

Prerequisites  

Before starting, make sure you have:

  • S3 Bucket Name – Your unique storage container name in AWS S3
  • S3 Access Key – Access Key ID for authentication
  • S3 Secret Key – Secret Access Key for authentication
  • Relative Path to Data Folder (optional — if not provided, data will be stored at bucket root)
  • An existing TikTok Lead Ads Source connection in Datahash

2 – Open AWS S3 Connector  

  • Navigate to Destinations → Files in the right-hand panel
  • Click on the AWS S3 connector tile

3 – Select Data Source  

  • Choose TikTok Lead Ads as the source type
  • Select the connection name from your existing TikTok Lead Ads Source setup
  • Select your data export frequency:
    • Realtime
    • 1 hour
    • 3 hours
  • 1 day
  • Provide a name for this AWS S3 connection


4 – Enter AWS S3 Credentials  

Fill in your AWS S3 details:

  • S3 Bucket Name: e.g., my-leads-bucket
  • S3 Access Key: Your AWS Access Key ID
  • S3 Secret Key: Your AWS Secret Access Key
  • Relative Path to Data Folder: e.g., leads/data
  • Click Validate Credentials to confirm connection access.

5 – Datahash Folder Creation  

  • Datahash will create a folder named ‘Datahash’ in your provided path (or at the bucket root if none specified)
  • Inside it, a folder named after your Lead Ads connection will store your exported files
  • Files will include timestamps in their names for easy tracking
  • A new file is created for each export cycle

6 – Complete Setup  

  • Review the file path and file name displayed after validation
  • Click Finish to complete the setup
  • Your new AWS S3 destination will now appear in the Dashboard

Managing Connections  

Add a New Instance  

  • Repeat the setup steps with different credentials, frequency, or bucket path
  • Validate credentials, then click Finish

Edit an Existing Instance  

  • Go to Manage Existing Connections
  • Select the connection name you want to modify
  • Click the Edit icon (top-right corner)
  • Update any field (bucket name, credentials, frequency, folder path)
  • Click Validate Credentials and then Finish

(If you cancel before finishing, your old configuration remains active)