Skip to content

Connecting to AlloyDB

Prerequisites

  • The AlloyDB instance (including a primary instance and a read pool) is accessible over the network from the PuppyGraph instance.

Configuration

Configuration Explanation
Username The username of the database
Password The password of the database
JDBC URI A JDBC compatible connection URI of the data source. Read this page for more details on how to construct the URI.
JDBC Driver Class

The class name of the JDBC Driver.

The default value is org.postgresql.Driver

JDBC Driver URL

The URL of the PostgreSQL-compatible JDBC Driver.

Please choose the version of the driver that is compatible with your PostgreSQL database.

Demo

See Querying AlloyDB Data as a Graph for a complete demo for AlloyDB. The demo includes setting up the connection to a AlloyDB instance.