1
0
mirror of synced 2025-12-22 19:38:29 -05:00
Files
airbyte/docs/connector-development/config-based/tutorial/1-create-source.md
Alexandre Girard 65be9b74f0 Simplify low-code connectors template (#17476)
* default schema loader

* Update generator

* update example

* remove more cruft

* Update code sampels in section 3 (but not the text)

* Update code sampels in 5

* Update instructions

* Update code samples

* Update samples

* Use now_utc instead of local

* isolate complexity to JsonSchema

* Bump cdk version

* Update changelog

* fix unit test

* slightly more helpful default

* Don't freeze cdk version in template

* remove newline

* newline

* bump

* Update changelog

* Bump
2022-10-06 08:12:21 -07:00

1.2 KiB

Step 1: Generate the source connector project locally

Let's start by cloning the Airbyte repository:

git clone git@github.com:airbytehq/airbyte.git
cd airbyte

Airbyte provides a code generator which bootstraps the scaffolding for our connector.

cd airbyte-integrations/connector-templates/generator
./generate.sh

This will bring up an interactive helper application. Use the arrow keys to pick a template from the list. Select the Configuration Based Source template and then input the name of your connector. The application will create a new directory in airbyte/airbyte-integrations/connectors/ with the name of your new connector. The generator will create a new module for your connector with the name source-<connector-name>.

Configuration Based Source
Source name: exchange-rates-tutorial

For this walkthrough, we'll refer to our source as exchange-rates-tutorial.

Next steps

Next, we'll install dependencies required to run the connector

More readings