# Introduction

This document will explain how to use the SQL DBML Schema plugin to generate a visual reprensentation of your Bubble database. This plugin is free to use and our organization will continue to support and update the plugin as a contribution to the Bubble community and the Bubble plugin ecosystem. The link to the plugin is: <https://bubble.io/plugin/sql-dbml-schema-1670869861766x380029866307747800>

A few important highlights about this plugin. First, it uses undocumented Bubble client-side code to generate the schema results. As such, it could break if Bubble were to update any of the underlying functions. The plugin is open-source (check the link above) which means you can view the plugin source code if you are interested in seeing exactly how the plugin works.

This plugin generates DBML syntax which can be used at <https://dbdiagram.io/d>. We did NOT create this syntax nor did Bubble. If you are interested in finding out more about DBML or have questions about the syntax, please check out this link: <https://dbml.dbdiagram.io/>

The plugin alone does not generate a diagram. To obtain a diagram that looks like this:

<figure><img src="/files/MWFmXlohAuyFrASDdS8Z" alt=""><figcaption></figcaption></figure>

you must first use the plugin to generate the DBML and then copy and paste the generated DBML into <https://dbdiagram.io/d>

Finally, if you use a SQL database instead of the Bubble built-in database, check out our paid-plugin which extends the functionality provided by Bubble's free SQL plugin. The link to that plugin is: <https://bubble.io/plugin/mssql-sql-database-connector-1659728184544x363497584834641900> &#x20;

If you have any feedback, feature requests, questions or issues, the fastest way to reach us is to email us directly at: **<ben@builditbranding.com>**.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://build-it-branding.gitbook.io/sql-dbml-schema/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
