Skip to main content
Every app is private to your organization. For each app you choose who can open it and who can edit it, from the Share dialog in the app editor. You can also invite guests from outside your team to the whole app or to chosen pages, and lock individual pages to specific members.

How people sign in to apps

Apps don’t have their own login page. People sign in with their Duet Agents account:
  • Visitors who aren’t signed in are sent to the Duet Agents login page, then back to the app.
  • Everyone who opens an app is a member of your organization: an Owner, Admin, Editor, Viewer or Guest. There’s no public sign-up and no anonymous access. To give someone access, invite them to your organization or invite them as a guest.
  • People removed from your organization lose access to its apps right away, even if they’re still signed in.
  • People can also open an app from an AI coworker’s app card in Slack. The same access rules apply. See Slack.
  • Apps open in the organization you’re signed in to. If you have access to an app through another organization, you see “Wrong Organization” and a Switch Organization button.
Because the app knows who’s signed in, the AI can build features for each person without a login screen:
Show each person only the tasks assigned to them.

The Share dialog

In the app editor, click Share next to Publish. The button’s icon shows the app’s current access level. The dialog, Share app name, has:
  • Add people by name or email, to add members of your organization or invite guests.
  • People with access, listing the app’s creator (labelled Owner), the people added to the app and its guests.
  • General access, which sets who in your organization can open the app.

Choose general access

Pick one of three levels under General access: These levels apply to everyone, including Owners and Admins. An Owner or Admin has to be added to an Only people invited app like anyone else, and can’t open an Only you app. Guests only get in when you invite them, whatever the level. Only the app’s creator can change general access. When a coworker creates an app for you, you are its creator. On the Apps page, an app’s … menu shows its access level, for example “Only specific people have access”. Viewers only see apps that have been published at least once.

Share with people in your organization

1

Switch to Only people invited

In Share, set General access to Only people invited.
2

Add a person

Type a name or email in Add people by name or email, and click the person (Add). They get access right away, and you see “Shared with name”.
3

Set their role

Choose Viewer or Editor next to their name. To remove someone, click the X next to their name.
Rules for roles:
  • Defaults follow the organization role. People who are Viewers in your organization start as app Viewer. Everyone else starts as Editor.
  • Organization Viewers can’t be app Editors. Duet Agents shows “Name is a Viewer in organization. Make them an Editor in Settings first.” Ask an Owner or Admin to change their role in Members and roles.
  • Viewers need a published app. People with the Viewer role can open the app only after it has been published at least once.
  • You always have access. As the creator, you’re listed as Owner, and you can’t be removed.
On an app set to Anyone at your organization, members already show Has access, with a note: “To share it with only some people, change general access to Only people invited.” If you share an Only you app, Duet Agents first asks Share a private app? and offers Change and share, which switches it to Only people invited. Nobody else in your organization gets access.

Invite guests

Guests are people outside your organization, such as clients or contractors. You can invite them to the whole app or to chosen pages. They can view, not edit, and they don’t see your other apps or anyone else in your organization.
1

Type their email

In Share, type the person’s email in Add people by name or email, and click Invite email as a guest (or press Enter).
2

Choose what they can see

Under What can this guest see?, pick The whole app (every page, including pages you add later) or Only some pages, then tick the pages. You can pick up to 50 pages. Pages that need an ID in the link, like /orders/[id], can’t be shared on their own.
3

Add a message (optional)

Write a note in Message. It’s included in the invite email.
4

Send the invite

Click Send invite. You see “Invite sent”. Guests only see the published app, so if the app isn’t published yet, or you pick pages while the app has unpublished changes, the button reads Publish and send: Duet Agents publishes the app first, then sends the invite.
The guest appears under People with access with the pages they can open (or “Whole app”), a Guest badge, and an Invited badge until they sign in for the first time. Their … menu has:
  • Resend invite, while they haven’t signed in yet (“Invite sent again”).
  • Change pages, to change what they can see. Click Save, or Publish and save when you add pages and the app has unpublished changes.
  • Remove access. The guest stays a guest in your organization but can no longer open the app.
People who are already guests in your organization show a Guest badge when you search for them. Picking one opens the same form, or their current access if they’re already a guest of this app. Anyone who can edit the app can invite and manage its guests. On an Only you app, inviting a guest first asks Share a private app?, as above.

What the guest sees

  • The invite email. The subject is “Your name shared app with you”. It lists the pages they can open, or says they can open every page, and has an Open app button. The button signs them in as the invited email, works once and expires after 7 days. Duet Agents creates a Duet Agents account for them if they don’t have one.
  • A confirmation page. Before signing in, they see Open app, who shared what with them, and a Continue as name button. Then the app opens on the first page shared with them.
  • An expired link. They see “This link has expired” and can click Email me a new link. You can also use Resend invite.
  • Shared with you. When a guest signs in to Duet Agents, they don’t see the workspace. They get a Shared with you page that lists the apps shared with them, an Organization picker to switch between the organizations they belong to, and Log out.
  • A page that isn’t shared. They see “You can’t open this page”, a button to go to a page they can open, and Ask name for access. The request emails the app’s creator, or an organization Owner, with a link to the app editor so you can change their pages.
Guests can’t run your organization’s data queries, custom APIs or databases straight from their browser. If a page shared with guests shows data from those, ask the AI to load it in the app’s server code instead.

Restrict individual pages

You can lock pages inside an app to specific members of your organization, for example an /admin page that only team leads should open.
1

Open the page list

In the Preview tab, click the lock icon in the address bar, next to the page picker. Restrict access to pages lists your app’s pages. Each one shows “No restrictions” or the number of people with access.
2

Add people to a page

Expand a page and click Add user. Add everyone who should be able to open it.
As soon as a page has at least one person on its list, only those people and the app’s creator can open it. Every other member is blocked, including Owners and Admins.
  • Members only. Guests aren’t listed here. Manage what guests can open in Share. Sharing a page with a guest doesn’t restrict it for your members.
  • Exact paths only. Restricting /reports doesn’t restrict /reports/2024.
  • Pages with a variable part aren’t listed. You can’t restrict a page like /orders/[id].
  • Page rules add to the access level. People still need access to the app itself first.
  • Only the creator can add or remove people on a page.
Restricting a page doesn’t restrict the API routes it loads its data from. If the data is sensitive, ask the AI to check who’s signed in on those routes as well:
Only let the people who can open /admin call the /api/admin routes.

Who can do what