---
title: "Using any Postgres Database"
description: "How to use any Postgres Database in LaunchFast starter kits?"
source: "https://www.launchfa.st/documentation/database/postgres"
---

> **Site index for agents**
> Fetch https://www.launchfa.st/llms.txt to discover every page on this site.
> Every page is also available as Markdown by appending `.md` to its URL.

> Browse the source code [here](https://github.com/LaunchFast-Boilerplates/launchfa.st-astro/blob/master/src/lib/db/index.ts).

import { Tabs, TabItem, Steps } from '@astrojs/starlight/components'

LaunchFa.st makes it easier for you to use any [Postgres](https://www.postgresql.org/) as the database with it's built-in integration.

Here's how you would set up Postgres to use it with LaunchFast:

<Steps>
  1. Make sure to update the environment variable(s) of your application per the following instruction:
    
      <Tabs>
        <TabItem label="Astro">
            [https://github.com/LaunchFast-Boilerplates/launchfa.st-astro#database](https://github.com/LaunchFast-Boilerplates/launchfa.st-astro#database)
        </TabItem>
        <TabItem label="SvelteKit">
            [https://github.com/LaunchFast-Boilerplates/launchfa.st-sveltekit#database](https://github.com/LaunchFast-Boilerplates/launchfa.st-sveltekit#database)
        </TabItem>
        <TabItem label="Next.js">
            [https://github.com/LaunchFast-Boilerplates/launchfa.st-nextjs#database](https://github.com/LaunchFast-Boilerplates/launchfa.st-nextjs#database)
        </TabItem>
      </Tabs>

  2. and you're done! All the functionalities of the starter kit will now use Postgres as the database.
</Steps>
