# Deploying dash with sql server connection

**URL:** https://community.plotly.com/t/deploying-dash-with-sql-server-connection/32752
**Category:** Dash Python
**Created:** [December 18, 2019, 6:23pm UTC](https://community.plotly.com/t/deploying-dash-with-sql-server-connection/32752 "2019-12-18T18:23:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![liotundi](https://avatars.discourse-cdn.com/v4/letter/l/7bcc69/32.png) [@liotundi](https://community.plotly.com/u/liotundi)
#### Post date: [December 18, 2019, 6:23pm UTC](https://community.plotly.com/t/deploying-dash-with-sql-server-connection/32752/1 "2019-12-18T18:23:35Z")

</div>

I am trying to deploy dash app on heroku and aws but the thing is my app data is from SQL server.How can I do this with all the credentials to my database not being expose?  
Thank you for helping me out.

---

<div class="post-metadata">

### Author: ![ckeoirm](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@ckeoirm](https://community.plotly.com/u/ckeoirm)
#### Post date: [January 21, 2022, 5:43am UTC](https://community.plotly.com/t/deploying-dash-with-sql-server-connection/32752/2 "2022-01-21T05:43:27Z")

</div>

dang no answer for two years?

use a config.py

then import it in
