Using Claude AI to Build a Custom Connector With the Fivetran Connector SDK
The video tutorial demonstrates how to build a Fivetran Connector SDK custom connector using Claude, an AI assistant developed by Anthropic.
The demo showcases the end-to-end process of creating, testing, debugging, and deploying a custom Fivetran connector using structured prompts and project context files for Claude.
The tutorial is based on our FDA Tobacco Problem API Connector example connector..
Prerequisites
Before starting, ensure the following:
- Connector SDK is installed (see How to Install Fivetran Connector SDK for detailed instructions)
- Connector SDK prerequisites
- (Optional but recommended) API key is stored as an environment variable
- DuckDB is installed for local data inspection
Video chapters
Tutorial
Step 1: Unknown Chapter
Create a project directory named FDA_Tobacco_Claude. Inside this folder, add three key files to establish context for Claude:
claude_md: A renamed copy of theagents.mdfile from the Fivetran Connector SDK public GitHub repo. It includes system goals, response formatting rules, and SDK-specific instructions.notes.txt: A manually prepared file containing authentication method, endpoint overview, sample API queries, and example JSON responses. This information is pulled directly from the FDA Tobacco API documentation.fields.yaml: A file downloaded from the API's documentation that describes the available fields in the dataset.
These files act as local prompt context Claude will reference when generating connector code.
See our How to Create a Project Folder documentation if you need in-depth instructions.