# Deploy SQLChat with Easypanel

URL: /templates/sqlchat

SQLChat is a chat-based SQL client powered by ChatGPT that allows you to interact with your databases using natural language. It provides an intuitive interface for querying databases, exploring data, and learning SQL through conversational interactions. SQLChat supports multiple database types and integrates with OpenAI's GPT models to translate natural language queries into SQL statements, making database interactions more accessible for both beginners and experienced developers.

## Benefits

### Natural Language Queries

Query your databases using natural language instead of complex SQL syntax, making database interactions more intuitive and accessible.

### ChatGPT Integration

Powered by OpenAI's ChatGPT to translate natural language into SQL queries and provide intelligent database insights.

### Multi-Database Support

Connect to various database types including PostgreSQL, MySQL, SQLite, and more through a unified chat interface.

### Learning Tool

Perfect for learning SQL as it shows the generated SQL queries alongside natural language explanations and results.

## Features

### Conversational Interface

Chat-based interface that makes database querying feel like having a conversation with an expert SQL developer.

### Query Translation

Automatically translates natural language questions into optimized SQL queries with explanations of the logic.

### Database Explorer

Explore database schemas, tables, and relationships through natural language commands and questions.

### Result Visualization

View query results in formatted tables with options for data export and further analysis through chat.

## Configuration

- `appServiceName` (App Service Name, required): sqlchat

- `appServiceImage` (App Service Image, required): sqlchat/sqlchat:latest — SQLChat Docker image

- `openaiApiKey` (OpenAI API Key, required): Set during installation — Your OpenAI API key for ChatGPT integration

## Services

- sqlchat: app (sqlchat/sqlchat:latest)

## Resources

- [GitHub](https://github.com/sqlchat/sqlchat)

- [Documentation](https://github.com/sqlchat/sqlchat#readme)

- [Demo](https://sqlchat.ai)

- [Template source](https://github.com/easypanel-io/templates/tree/main/templates/sqlchat)