Databases
PostgreSQL
Connecting PostgreSQL to Index
To connect Index with your PostgreSQL database, you’ll need a properly configured user account with appropriate data access permissions.
Connection Requirements
You’ll need to provide five essential pieces of information:
- Host URL
- Port Number
- Database Name
- Username
- Password
Host Configuration
Host Format Example:
This represents your database’s access URL.
Port Configuration
Default Port Example:
PostgreSQL typically uses port 5432 by default.
Database Configuration
Database Name Example:
Authentication Details
Username Example:
Password Example:
User Account Setup
We recommend creating a dedicated user and role specifically for Index access. You can set this up using psql or your preferred database client.
Setting Up Database Access
Execute the following SQL commands, replacing the placeholders with your specific details:
Finalizing Connection
After creating the user account, enter the credentials in Index’s database connection form:
- Input the username and password
- Test the connection to verify proper configuration
Best Practices
- Create a dedicated user account for Index
- Use a strong, unique password
- Grant only necessary permissions
- Test the connection after setup