# Install baserow with an external database

**URL:** https://community.baserow.io/t/install-baserow-with-an-external-database/176
**Category:** Technical Help
**Created:** [January 10, 2022, 6:13pm UTC](https://community.baserow.io/t/install-baserow-with-an-external-database/176 "2022-01-10T18:13:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ozzz](https://community.baserow.io/letter_avatar_proxy/v4/letter/o/ecd19e/32.png) [@ozzz](https://community.baserow.io/u/ozzz)
#### Post date: [January 10, 2022, 6:13pm UTC](https://community.baserow.io/t/install-baserow-with-an-external-database/176/1 "2022-01-10T18:13:07Z")

</div>

Hello,

How can I install budibase with another database that the one we have to create ? I am using the install on Ubuntu script.

I need the database to be the SQL database (postgres) in Google Cloud.

Thanks a lot

---

<div class="post-metadata">

### Author: ![nigel](https://community.baserow.io/user_avatar/community.baserow.io/nigel/32/51_2.png) [@nigel](https://community.baserow.io/u/nigel)
#### Post date: [January 12, 2022, 6:09pm UTC](https://community.baserow.io/t/install-baserow-with-an-external-database/176/2 "2022-01-12T18:09:03Z")

</div>

Hi @ozzz,

Are you using Baserow or Budibase? If Budibase we can’t help you here and I would suggest you ask in their forums.

To do this in Baserow you should follow this section of the guide [Installation on Ubuntu // Baserow](https://baserow.io/docs/guides%2Finstallation%2Finstall-on-ubuntu#install-and-configure-supervisor) ensure you set the `DATABASE_NAME` , `DATABASE_USER`, `DATABASE_PASSWORD`, `DATABASE_HOST` and `DATABASE_PORT` environment variables to point at your GCP postgres instance. (Edit `/etc/supervisor/conf.d/baserow.conf`'s environment section to set the above environemnt variables to the correct values, then you should follow the section `After modifying these files you need to make supervisor reread the files and apply the changes.` in the Installation on Ubuntu guide to reload the config and restart Baserow)

---

<div class="post-metadata">

### Author: ![ozzz](https://community.baserow.io/letter_avatar_proxy/v4/letter/o/ecd19e/32.png) [@ozzz](https://community.baserow.io/u/ozzz)
#### Post date: [January 12, 2022, 6:21pm UTC](https://community.baserow.io/t/install-baserow-with-an-external-database/176/3 "2022-01-12T18:21:01Z")

</div>

Perfect!

Thanks a lot!

Sorry for getting confused about the name ☹

---

<div class="post-metadata">

### Author: ![nigel](https://community.baserow.io/user_avatar/community.baserow.io/nigel/32/51_2.png) [@nigel](https://community.baserow.io/u/nigel)
#### Post date: [January 12, 2022, 6:23pm UTC](https://community.baserow.io/t/install-baserow-with-an-external-database/176/4 "2022-01-12T18:23:23Z")

</div>

Haha no worries just wanted to make sure i wasn’t about to tell you to do something entirely incorrect 😃
