# TSURU_SERVICES environment variable¶

tsuru exports an special environment variable in applications that use services, this variable is named TSURU_SERVICES. The value of this example is a JSON describing all services instances that the application uses. Here is an example of the value of this variable:

{
"mysql": [
{"instance_name": "mydb",
"envs": {"DATABASE_NAME": "mydb",
"DATABASE_USER": "mydb",
"DATABASE_HOST": "mysql.mycompany.com"}
},
{"instance_name": "otherdb",
"envs": {"DATABASE_NAME": "otherdb",
"DATABASE_USER": "otherdb",