Connect revenue analytics
Show your MRR, revenue, and active subscriptions inside a project - and net it against your recurring costs in the Subscriptions tab. Astrodesk supports Stripe, Polar, and Paddle; connect whichever one you actually bill through - usually just one per project. Every key is read-only and Astrodesk can only ever read, never move money.
Stripe
Use a restricted key (rk_…) with read-only access - never your secret key (sk_live_…). Astrodesk refuses full live secret keys for your safety.
- In Stripe, go to Developers → API keys → Create restricted key.
- When asked "How will you be using this key?", choose "Providing this key to a third-party application".
- Name it something like "Astrodesk (read-only)".
- Set these permissions to Read (leave everything else as None): Charges, Subscriptions, Balance.
- Create the key and copy it - it starts with
rk_live_(orrk_test_in test mode).
Polar
Use an organization access token with read-only scopes.
- In Polar, go to Settings → Developers → Access tokens.
- Create a new organization access token.
- Grant Subscriptions: Read and Orders: Read - nothing else is needed.
- Copy the token - it starts with
polar_oat_.
Paddle
Use a standard API key from your Paddle dashboard.
- In Paddle, go to Developer tools → Authentication.
- Create a new API key (or use an existing read-focused one) and copy it - it starts with
pdl_live_apikey_.
Paste it into Astrodesk
- Open your project → Analytics tab → find the matching revenue card (Stripe, Polar, or Paddle) and click Connect.
- Paste the key and click Connect - your MRR, revenue, and active subscriptions appear.
How your key is protected
- Stored encrypted (AES-256-GCM) - a database dump alone can’t reveal it.
- Used only server-side to read your account; never sent back to your browser or logged.
- It’s read-only and revocable - you can delete/rotate the key on the provider’s side at any time, or disconnect it here.
- Rotate it anytime with the pencil (Update key) button on the card.
Net profit
Once connected, the project’s Subscriptions tab shows MRR − monthly costs = net, so you can see at a glance whether a project is in the black.