{"id":24087923,"url":"https://github.com/tinybirdco/guide-dynamodb-tinybird-analytics","last_synced_at":"2026-02-21T10:02:30.819Z","repository":{"id":247623017,"uuid":"825408938","full_name":"tinybirdco/guide-dynamodb-tinybird-analytics","owner":"tinybirdco","description":"A demo showing how to CDC changes from DynamoDB to Tinybird and build user-facing analytics","archived":false,"fork":false,"pushed_at":"2024-11-29T17:41:54.000Z","size":2514,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T23:51:13.165Z","etag":null,"topics":["analytics","cdc","clickhouse","dynamodb","lambda","olap","rockset","tinybird"],"latest_commit_sha":null,"homepage":"https://guide-dynamodb-tinybird-analytics.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinybirdco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-07T17:27:22.000Z","updated_at":"2025-02-28T11:14:14.000Z","dependencies_parsed_at":"2024-11-08T23:24:15.139Z","dependency_job_id":"69b91e52-219d-447c-ae13-a20cd92ae794","html_url":"https://github.com/tinybirdco/guide-dynamodb-tinybird-analytics","commit_stats":null,"previous_names":["tinybirdco/guide-dynamodb-tinybird-analytics"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fguide-dynamodb-tinybird-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fguide-dynamodb-tinybird-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fguide-dynamodb-tinybird-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fguide-dynamodb-tinybird-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinybirdco","download_url":"https://codeload.github.com/tinybirdco/guide-dynamodb-tinybird-analytics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252581682,"owners_count":21771552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","cdc","clickhouse","dynamodb","lambda","olap","rockset","tinybird"],"created_at":"2025-01-10T03:56:10.554Z","updated_at":"2025-10-18T12:02:44.887Z","avatar_url":"https://github.com/tinybirdco.png","language":"TypeScript","readme":"# Guide: Analyze DynamoDB data with Tinybird\n\nThis guide will show you how to analyze DynamoDB data with Tinybird.\n\nYou'll use Tinybird's [DynamoDB Connector](https://www.tinybird.co/docs/ingest/dynamodb) to capture historical and change data from DynamoDB tables and import it into Tinybird.\n\n## Running the demo\n\n1. Clone this repo\n\n### Initial AWS \u0026 DynamoDB config\n\n[The DynamoDB Connector docs](https://www.tinybird.co/docs/ingest/dynamodb) cover the integration in more detail.\n\n1. Create a DynamoDB table called `tinybird_flights` with Partition key `transaction_id` of type `String`\n2. Enable DDB Streams \u0026 PITR on the table\n3. Create a new S3 bucket called `tinybird-flights`\n4. Create a new IAM Policy called `tinybird_flights` using the [IAM Policy template](https://www.tinybird.co/docs/ingest/dynamodb#required-permissions)\n5. Create a new IAM Role called `tinybird_flights` and apply the [IAM Role template](https://www.tinybird.co/docs/ingest/dynamodb#required-permissionsdynamodb)\n\n### Set up Tinybird\n\n1. [Create a Tinybird account \u0026 Workspace](https://app.tinybird.co)\n2. Copy your admin token\n3. Go to the `tinybird` dir of this repo\n4. Create a python venv with `python3 -m venv .venv`\n5. Activate the venv with `source .venv/bin/activate`\n6. Install the Tinybird CLI with `pip install tinybird-cli`\n7. Authenticate with the CLI with `tb auth`\n8. Create a DynamoDB connection [`tb connection create dynamodb`](https://www.tinybird.co/docs/ingest/dynamodb#create-the-dynamodb-connection)\n9. Run `tb push` to push the Tinybird resources to your Workspace\n\n### Run the frontend\n\nThe demo uses Vercel and Next.js.\n\nVercel Serverless Functions are used for the backend APIs that interact with DynamoDB. To ensure that the DynamoDB calls work properly, you should use the Vercel CLI and `vercel dev` to run the app locally.\n\nTinybird APIs are called directly from the browser.\n\n1. [Install the Vercel CLI](https://vercel.com/docs/cli)\n2. Go to the `app/dynamodb-tinybird-flights` dir of this repo\n3. Install dependencies with `pnpm i`\n4. Configure your environment variables in a `.env` file. You can use the `.env.example` file as a template.\n5. Run locally with `vercel dev`\n6. Go to the UI on `http://localhost:3000`\n7. On the UI, use the data control buttons to send some data to the DynamoDB table\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinybirdco%2Fguide-dynamodb-tinybird-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinybirdco%2Fguide-dynamodb-tinybird-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinybirdco%2Fguide-dynamodb-tinybird-analytics/lists"}