Skip to main content

App Sharing

Share your Cubby apps with friends, colleagues, or anyone with a Cubby account.

How Sharing Works

  1. You own an app - Deployed via cubby deploy
  2. Share with a username - Enter their Cubby username
  3. They get access - App appears in their dashboard
  4. They’re authenticated - Their identity is passed to your app

Sharing from the Dashboard

  1. Go to app.cubby.pro
  2. Select your app
  3. Click the Sharing tab
  4. Enter the username of the person to share with
  5. Click Share
They’ll see the app in their dashboard immediately (if they have an account).

Inviting Non-Users

If you share with someone who doesn’t have a Cubby account:
  1. They receive an email invitation
  2. They sign up using that email
  3. The app automatically appears in their dashboard
  4. No additional action needed from you
Pending invitations are listed in your Sharing tab.

Shared User Permissions

Shared users CAN:
  • Access the app URL
  • See the app in their dashboard
  • Use the app like any authenticated user
  • See their own data (scoped by their userId)
Shared users CANNOT:
  • View or modify secrets
  • Delete the app
  • View deploy logs
  • Access the Sharing tab
  • Share the app with others

Removing Access

To revoke someone’s access:
  1. Go to your app’s Sharing tab
  2. Find the user in the shared list
  3. Click Remove
They’ll lose access immediately but can still visit the URL (they’ll be redirected to login as themselves, where they won’t have access).

Data Isolation

Sharing an app doesn’t share data. Each user’s data is scoped by their userId:
// Each user only sees their own todos
const todos = await prisma.todo.findMany({
  where: { userId: currentUserId }
})
If you want shared users to see common data, implement that logic in your app.

Use Cases

Team Tools

Share internal tools with your team. Each member has their own account and identity.

Demo Apps

Share demo versions of your app with potential customers.

Family/Friends

Share personal apps (todo lists, expense trackers) with family members.

Collaboration

Share project management apps where each user has their own tasks but can view shared projects.

Sharing vs Public Apps

Sharing requires a Cubby account. There’s no “public link” option. If someone visits your app URL without a Cubby account:
  1. They’re redirected to login
  2. They can create an account
  3. But they won’t see your app (unless you’ve shared with their email)
This keeps apps secure by default.