How do I use the Airbyte API to create a custom so...
# replication-ask-ai
d
How do I use the Airbyte API to create a custom source from our private ECR on AWS?
k
I'm sorry, but the information provided in the extracts does not include specific instructions on how to use the Airbyte API to create a custom source from a private ECR on AWS. However, it does provide some information on how to authenticate to an ECR private registry using the AWS CLI and how to set up a custom source in Airbyte. To authenticate to an ECR private registry, you can use the AWS CLI command:
Copy code
bash aws ecr get-login-password --region region | docker login --username AWS --password-stdin <http://aws_account_id.dkr.ecr.region.amazonaws.com|aws_account_id.dkr.ecr.region.amazonaws.com>
You can find more details about this command and other available authentication methods [here](https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry_auth.html). You will need to authenticate both your local/CI environment (where you build your image) and your EC2 instance where your Airbyte instance is running. [source](https://docs.airbyte.com/operator-guides/using-custom-connectors) As for setting up a custom source in Airbyte, you would typically do this through the Airbyte dashboard by going to the Sources menu and clicking on the New source button. However, the extracts do not provide specific instructions on how to do this via the Airbyte API. For more detailed instructions, I would recommend checking out the [Airbyte Documentation](https://docs.airbyte.com/), specifically the sections on using custom connectors and the Airbyte API.
d
Are you sure I can't use this endpoint in the Airbyte configuration API? https://airbyte-public-api-docs.s3.us-east-2.amazonaws.com/rapidoc-api-docs.html#post-/v1/sources/create
s
Hey, did you get the API working on your instance?
d
yep nearly there
/source_definitions/create_custom
/source_definitions/update