Please note that these documents apply to OpenShift Online v2 only (accounts created before August 1st, 2016).
If you are using one of the OpenShift 3 products, please refer to documents available at


ElephantSQL provides PostgreSQL-as-a-Service hosted in the cloud.


The ElephantSQL dashboard can be accessed by visiting:

ElephantSQL Dashboard

Integrating the Service With Your App

Once you have subscribed to this service and located your credentials, you will need to configure your application to use the credentials for your service.

ElephantSQL Environment Variables

We recommend setting the following environment variables within your application runtime to connect the service to your app:

Variable Name

Example Value





Use the OpenShift client tools to set environment variables to make your credentials available within your application runtime:

$ rhc env set ELEPHANTSQL_MAX_CONNS=VALUE -a App_Name
$ rhc env set ELEPHANTSQL_URI=VALUE -a App_Name
Check out the general code examples to see how to use environment variables within your application.

Additional Resources

Additional documentation is available at


General inquiries

If you have any questions, please email

Technical support

If you need technical support, please email


We’re announcing all status and maintenance information at