This feature is available in Enterprise Plan.

Input your natural language and Bytebase will convert it into SQL.


Before starting, make sure you have sign up for an account on the OpenAI platform and obtain a confidential key.

Add the API key

Go to Bytebase console, click Settings > General. Scroll down to AI Augmentation, and fill in OpenAI API Key field.


Query in SQL Editor


After configuring the OpenAI key, an OpenAI icon will appear on the SQL Editor. Clicking the icon will toggle between the SQL and natural language mode.

Data privacy

In order to convert your request into an SQL query, Bytebase must provide the OpenAI platform with the tables and column names of the current database schema. However, Bytebase does not transmit any data from the tables.

Edit this page on GitHub

Subscribe toย Newsletter

By subscribing, you agree with Bytebase's Terms of Service and Privacy Policy.