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.

  1. In Stripe, go to Developers → API keys → Create restricted key.
  2. When asked "How will you be using this key?", choose "Providing this key to a third-party application".
  3. Name it something like "Astrodesk (read-only)".
  4. Set these permissions to Read (leave everything else as None): Charges, Subscriptions, Balance.
  5. Create the key and copy it - it starts with rk_live_ (or rk_test_ in test mode).

Polar

Use an organization access token with read-only scopes.

  1. In Polar, go to Settings → Developers → Access tokens.
  2. Create a new organization access token.
  3. Grant Subscriptions: Read and Orders: Read - nothing else is needed.
  4. Copy the token - it starts with polar_oat_.

Paddle

Use a standard API key from your Paddle dashboard.

  1. In Paddle, go to Developer tools → Authentication.
  2. 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

  1. Open your project → Analytics tab → find the matching revenue card (Stripe, Polar, or Paddle) and click Connect.
  2. 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.