Hydra Postgres is 100% Postgres compatible and uses standard Postgres drivers to connect. To connect to Hydra from your application, you’ll need to follow these general steps:

  1. Install a Postgres driver or ORM for your programming language
  2. Set up connection parameters (host, port, database name, username, password)
  3. Establish a connection to the database
  4. Execute queries and handle results

Get Started

Hydra offers a variety of connection strings and snippets to help you get started from the “Credentials” panel on the “Dashboard” page of your project:

Select the most appropriate snippet for your application.

Security Considerations

  • Make sure your password is kept safe and never revealed to client-side applications.
  • For greater security, we highly recommend creating a user for each application with its own password and restricted access. For details, see CREATE ROLE in the Postgres docs.

Need More Help?

If your language or framework is not listed and you need additional help connecting your app, contact support.