# How to create a query from SQL Connector to Bubble's internal database

**URL:** <https://forum.bubble.io/t/how-to-create-a-query-from-sql-connector-to-bubbles-internal-database/356209>\
**Category:** Plugins\
**Created:** [January 20, 2025, 1:55pm UTC](https://forum.bubble.io/t/how-to-create-a-query-from-sql-connector-to-bubbles-internal-database/356209 "2025-01-20T13:55:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brugomes7](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/brugomes7/32/252443_2.png) [@brugomes7](https://forum.bubble.io/u/brugomes7)\
**Post date:** [January 20, 2025, 1:55pm UTC](https://forum.bubble.io/t/how-to-create-a-query-from-sql-connector-to-bubbles-internal-database/356209/1 "2025-01-20T13:55:21Z")

</div>

I intend to use a query from the SQL Connector plugin on a table from Bubble’s internal database. Could someone explain how to configure the ‘Connection string’ for the new connection I need to create in this plugin? I’m unsure how to obtain the database credentials for the password, username, server, PORT, and name of my Bubble app’s database. Does anyone know how I can get this information?

---

<div class="post-metadata">

**Author:** ![hergin](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hergin/32/199185_2.png) [@hergin](https://forum.bubble.io/u/hergin)\
**Post date:** [January 20, 2025, 10:45pm UTC](https://forum.bubble.io/t/how-to-create-a-query-from-sql-connector-to-bubbles-internal-database/356209/2 "2025-01-20T22:45:04Z")

</div>

SQL connector plugin is used to bring external SQL database into Bubble, not vice versa.
