You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/advanced/direct_database_connections.md
+44-4Lines changed: 44 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,17 @@ To connect, you'll first need to generate generate database credentials from you
12
12
13
13
The credentials generated are a PostgreSQL URI which can be used as a connection string for compatible tools. These will only be shown by the Logfire platform once, so save them to a secure location for future use!
14
14
15
-
## Example: pgcli
15
+
## Connecting to the database
16
+
17
+
As mentioned, you can use the generated credentials to connect to the database using any tool that supports PostgreSQL connections.
18
+
19
+
### Using `pgcli`
16
20
17
21
[`pgcli`](https://www.pgcli.com/) is a command-line tool to access PostgreSQL databases.
18
22
19
23
Using the credentials generated in the previous step as the argument to `pgcli`, you can connect directly to **Logfire**:
0 commit comments