@@ -25,11 +25,19 @@ In addition, if you wish to try out authenticating against Google's OIDC backend
# Create Database
`createdb dex_db`
On the PostgreSQL server, login as a user with appropriate permissions and create a database and user for dex to use. These can be named arbitrarily, but are called `dex_db` and `dex`, respectively, in this example.
Let's store the connection string in a shell variable:
```sql
CREATEDATABASEdex_db;
CREATEUSERdexWITHPASSWORD'dex_pass';
GRANTALLPRIVILEGESONDATABASEdex_dbTOdex;
```
Store the [connection string](http://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-CONNSTRING) for the dex database in an environment variable: