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 docs.openshift.com.

ElephantSQL

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

Dashboard

The ElephantSQL dashboard can be accessed by visiting: customer.elephantsql.com/login

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

ELEPHANTSQL_MAX_CONNS

5

ELEPHANTSQL_URI

postgres://pakejrde:Twi99zYaUED4Kbx5PDdLNZbW0hTaEDx_@babar.elephantsql.com:5432/pakejrde

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 http://www.elephantsql.com/docs/index.html.

Support

General inquiries

If you have any questions, please email contact@elephantsql.com

Technical support

If you need technical support, please email support@elephantsql.com

Status

We’re announcing all status and maintenance information at status.elephantsql.com