<@U04SE163WC8> how to pass this JSON in Airbyte UI...
# ask-ai
h
@kapa.ai how to pass this JSON in Airbyte UI for building Custom Connector { "search": "{\"country\":\"CO\"}" }
u
To pass the JSON in the Airbyte UI for building a Custom Connector, you would typically follow these steps: 1. Access the Connector Builder in the Airbyte web app by selecting "Builder" in the left-hand sidebar. 2. Iterate on the connector by providing details for global configuration and user inputs, and streams. 3. In the process of defining your connector, you will encounter fields where you can input JSON structured strings. This is where you can input your JSON. However, the exact field where you should input your JSON depends on the specific requirements of your connector. If the JSON is part of the configuration, it might go into the
configuration
field when defining the connector. If it's part of a specific stream's configuration, it might go into the stream configuration form. Here's a general example of how you might input a JSON structured string: 1. Open the
ConnectorForm
preview component in the deployed Storybook at: https://storybook.airbyte.dev/?path=/story/connector-connectorform--preview 2. Press
raw
on the
connectionSpecification
property, so you will be able to paste a JSON structured string. 3. Set the string you want to preview the UI for. In your case, the JSON would be:
Copy code
json {   "search": "{\"country\":\"CO\"}" }
4. When submitting the form you can see a preview of the values in the "Actions" tab. Please note that this is a general guide and the exact steps might vary based on the specific requirements of your connector. For more detailed instructions, you can refer to the [Connector Builder documentation](https://docs.airbyte.com/connector-development/connector-builder-ui/overview). Sources: - [Connector Specification Reference](https://docs.airbyte.com/connector-development/connector-specification-reference) - [Connector Builder Intro](https://docs.airbyte.com/connector-development/connector-builder-ui/overview)