🔒 Secure-first SQL Editor with data access control and masking 🎭


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

  1. Go to home, and click SQL Editor on the left bar.
  2. Input in the natural language field and press Enter.
  3. You'll see the generated SQL on the left. Click the play icon and the SQL will execute.


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.