Microsoft SQL Server Integration

Connecting SQL Server to Retool

1. Get Database Connection Details & Whitelist Retool IP Address

You can get your database connection details from whoever set up the database. You'll also need to get them to whitelist the Retool IP address: 52.175.251.223.

2. Add to Retool

Create a new resource in Retool, and select "Microsoft SQL" as the type.

Enter your database connection details.

3. Create Queries

You can now select your newly-created SQL Server resource from the Resource dropdown when creating queries in your Retool apps. You can toggle between SQL mode for raw SQL statements or the GUI mode for structured writes.

You can display the results of SQL Server queries as with any other query in Retool:

4. Connecting using AD authentication

5. Connecting to named instances

Updated 3 days ago


Microsoft SQL Server Integration


Connecting SQL Server to Retool

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.