Risk Dimensions · Analyst Seat

Connect Guide

From a fresh laptop to running the starter notebook in about ten minutes. One database credential gives you read access to the hub and (if you're a Contributor) the ability to push your work back.
1

Get your credential

Risk Dimensions sends your database login (role + password) to you privately. It's read-only on the firm's data; Contributors also get append rights to shared tables on the same login. Keep it private — never commit it or paste it into a notebook cell.

2

Install cloudflared (one time)

The database is reached through a secure Cloudflare tunnel. Install the small client once:

winget install --id Cloudflare.cloudflared

(macOS: brew install cloudflared.)

3

Open the tunnel

In a terminal, start the tunnel and leave the window open while you work:

cloudflared access tcp --hostname db.riskdimensions.io --url localhost:5432

Your laptop's localhost:5432 is now wired to the database.

4

Open the notebook

Open rd_sandbox_starter.ipynb in Jupyter or VS Code (the rd_metrics.py calc library sits beside it and just imports). In Step 1, set the host to localhost.

5

Run it

Run top to bottom. Step 1 prompts for your credential (via getpass — nothing is saved to the file). Then: pull candidates → compute with rd_metrics → rank & comment with your own LLM → (Contributor) push your picks → read the feedback.

Colab instead of laptop? A cloud notebook can't reach the tunnel directly. Use the REST API key (plain HTTPS) for reads, and upload rd_metrics.py to the session (or set the download URL in Step 0b). The write step always needs the database credential.
Security. Secrets go in via getpass only — never hard-code a key in a cell or commit one. Your access has a set term and renews with the program; if a credential is ever exposed, tell us and we revoke it instantly.
Risk Dimensions · Analyst Seat — connect guide. Questions: info@riskdimensions.io