Account and security
How signing in works, what changes when your company uses single sign-on, how to add a passkey or an authenticator app for extra protection, how to see and sign out the devices you're signed in on, how to create a token for a script or another app, how to disconnect an app that acts for you, and how to change your email.
Your Remi account is what every Remi app signs in to, so this page is about keeping it yours: how signing in works, how to add a second check so nobody else can get in, where to see every device you're signed in on, and a few other things you'll only need now and again.
All of these settings are on the web. Open the menu on your name at the foot of the sidebar and choose Settings. The list down the side of Settings has two parts:
- Personal is for what's yours alone, the same in every account you belong to. Profile holds your name and email, and Sign-in and security holds how you sign in, your signed-in devices, your API tokens and your connected apps.
- Account, named after the account you're in, is for what you share with your team: members, the plan, billing and usage. Those have their own pages, Plans, billing and usage and Invite your team and set roles.
How signing in works
Remi has no passwords. When you sign in at remiapp.ai, you enter your email and select Continue, and Remi emails you a six-digit code to type in. The code works for ten minutes. If you'd rather, select Sign in with Google instead.
If you've never had an account, signing in with a new email creates one for you, so there's no separate sign-up. Install Remi and sign in explains signing in to each of the apps.
If your company has connected Remi to its own sign-in system, you won't be emailed a code. Sign in with single sign-on explains what you'll see instead.
When another Remi app asks you to approve a sign-in
When you sign in to Remi Desktop or the Remi CLI, they send you to remiapp.ai to approve it, because that's where you're already signed in. The page asks Approve this sign-in? and shows you the device, its IP address and a short code.
- Check that the code matches the one the app is showing you.
- Select Approve, and the app signs in. If you didn't start this sign-in yourself, select Deny instead, and nothing happens.
Sign in with single sign-on (SSO)
Some companies have one place where everyone signs in for work, such as Okta, Microsoft or Google, and an owner or admin can connect Remi to it, which Single sign-on explains. If yours has, signing in changes in one way. After you type your email and select Continue, Remi shows Sign in through mercerholt.co.uk, naming your company's domain, and sends you to your company's sign-in page when you select Continue again. You sign in there as you normally would, and you're back in Remi, signed in. If you're already signed in to your company system, you may not be asked for anything at all.
The first time, Remi links that sign-in to your existing Remi account, found by your email address, so your chats, documents and settings are exactly as they were, and Remi emails you to say which account the link was made to.
Until your company makes single sign-on the only way in, you can select Email me a code instead and sign in the usual way. Once it has, Remi tells you that your company asks everyone to sign in through it, and the code, a sign-in link and Sign in with Google all take you to your company's sign-in instead. An account's owners can still sign in with a code and their passkey or authenticator app, which If you're locked out explains.
Every Remi app signs you in the same way. Remi Desktop, the Remi CLI and the browser extension send you to your browser, and tell you why first if your company requires single sign-on. The iPhone and Android apps open your company's sign-in page on top of Remi, and bring you back when you're done. Nothing changes in how you set them up.
In a browser, a sign-in through your company lasts up to 24 hours. After that, Remi sends you back to your company's sign-in, and if you're still signed in there, you're usually straight back in without typing anything. Remi Desktop, the Remi CLI, the phone apps and the browser extension each keep a sign-in of their own, which stays for as long as you use it and ends only after 30 days unused.
What changes for your second check
When you sign in through your company system, Remi doesn't ask for your passkey or authenticator app afterwards, because your company system has already checked it's you, usually with a second check of its own. You can still add a passkey or an authenticator app in Settings then Sign-in and security, and Remi still asks for it before the sensitive changes listed under When Remi asks you to prove it's you. When it does, you can choose Confirm with Okta (or your company's provider) instead: your company's sign-in opens in a new window, and the page carries on by itself once you're through. If your company requires single sign-on and you got in as an owner with an email code, Remi asks you to Sign in with your company before a few of those changes, such as creating an API token.
If your company's sign-in turns you away
Sometimes you'll sign in at your company's page and come back to Remi with a message instead of your chats. Each one says what to do:
- Your company's sign-in said no. Your company system let you sign in but didn't let you through to Remi. If you should have access, ask your IT team to add you to the Remi app there.
- You're not in this team yet. You signed in, but you don't have a place in your company's Remi account. Ask one of its admins to invite you.
- This sign-in is turned off. Your company has turned off signing in this way. Go back and sign in with your email instead.
- That took too long. The sign-in expired before it finished. Select Try again, and Remi starts again without making you retype your email.
- We couldn't finish signing you in. Something went wrong between your company's sign-in and Remi. Try again, and if it keeps happening, tell your IT team.
If SCIM manages your account
If your company manages its Remi team from its own system, which SCIM provisioning explains, your name and email come from there, so Settings then Profile shows them locked, with a note to ask your IT team if either needs changing. Your Remi account belongs to your company's account, so Create account in the account menu is switched off for you.
If your IT team removes you, Remi signs you out on every device at once, with a message saying your company signed you out, and any API tokens you made stop working. If you try to sign in again with an email code, Remi tells you that your company has removed you from its account, and doesn't send one. Nothing you made is deleted. If you're added back later, you get the same account, with everything still in it.
Two-factor authentication (2FA)
A code sent to your email is a good start, but if you'd like your account to be harder to get into, add a passkey or an authenticator app. Remi will then ask for it every time you sign in, after the email code or Google. You can add both if you like.
Go to Settings then Sign-in and security, where the first section is Security.
A passkey lets you prove it's you with your fingerprint, your face or your device's PIN, so there's nothing to remember. You can add one for each device you use.
- Select Add a passkey, then Create passkey.
- Follow your browser's prompt, which usually asks for your fingerprint, face or PIN.
- Give the passkey a name you'll recognise later, such as "MacBook Touch ID", and select Save.
If your browser says it doesn't support passkeys, add an authenticator app instead.
An authenticator app is an app on your phone that shows a fresh six-digit code every thirty seconds. Any of them works, such as Google Authenticator or 1Password. You can have one authenticator app on your account.
- Select Add an authenticator app.
- Scan the QR code with your app, or copy the Setup key into it, then select Continue.
- Type the six-digit code your app shows.
- Remi then shows you your recovery codes. Select Copy all or Download, keep them somewhere safe, and select I've saved my recovery codes. You'll want these if you ever lose your phone.
To check it worked: your passkey or authenticator app is listed under Security, and the next time you sign in, Remi shows Verify it's you after the email code or Google.
If you've lost your phone or your passkey
On the Verify it's you screen, you can select Use your authenticator app instead, Use a passkey instead, or Use a recovery code. Each recovery code works once, so cross it off once you've used it.
Recovery codes
Recovery codes are your way back in if you lose both your passkey and your phone. Remi shows them to you once, so save them when they appear. If you added a passkey and don't have a set yet, go to Security and select Generate next to Recovery codes. To replace a set you've used up or lost, select Regenerate recovery codes. If you see Contact support to replace these instead, select it and the Remi team will help.
Remove a passkey or authenticator app
Open the More actions menu (⋯) next to it and choose Remove. If you have more than one, the same menu has Set as default, which chooses the one Remi asks for first.
When Remi asks you to prove it's you
Once you've added a passkey or an authenticator app, Remi asks you to confirm it's you before a few sensitive changes: changing billing, changing how you sign in, changing your email, or creating an API token. Creating an API token, replacing recovery codes and connecting a bank account also need two-factor authentication to be turned on in the first place.
Signed-in devices
The Signed-in devices section of Settings then Sign-in and security lists every place you're signed in to Remi. The browser you're reading this in comes first, marked This device. It's worth a look now and again, and it's the first place to go if something seems off.
How devices are named
| Device | How it's listed |
|---|---|
| A web browser | The browser and the system it runs on, such as "Chrome on macOS" |
| Remi for iPhone | Remi for iPhone |
| Remi for Android | Remi for Android |
| Remi Desktop | "Remi Desktop on" and the computer's system, such as "Remi Desktop on Windows" |
| The Remi CLI | "Remi CLI on" and the computer's name, such as "Remi CLI on work-laptop" |
| The browser extension | Remi for your browser |
Each one also shows the IP address it signed in from. If Remi can't tell what a device is, it's listed as Unknown device. API tokens and connected apps aren't listed here. Each has its own section, API tokens and Connected apps, further down the same page.
What "last active" means
Last active is the last time that device renewed its sign-in with Remi. A device that's in use renews at least every thirty minutes, so one you're using shows a recent time, while one that's been closed for a while shows when you last used it. A sign-in in a browser lasts thirty days from when you signed in. Remi Desktop, the Remi CLI, the phone apps and the browser extension stay signed in for as long as you use them, and ask you to sign in again only after 30 days unused.
Sign a device out
- Select Sign out next to the device.
- Remi asks on the same row, naming the device, so you can be sure it's the right one. Select Yes.
The device stops working with Remi straight away, and anything running there, such as the Remi CLI, stops too. To use Remi on it again, sign in there again.
The device you're reading on has no Sign out button of its own. To sign out of it, choose Log out from the menu on your name at the foot of the sidebar.
If you see a device you don't recognise
Sign it out first. Then make sure nobody can sign in as you again:
- Remi signs you in with a code sent to your email, with Google, or through your company's sign-in, so someone who got in as you may have access to one of those. Change those passwords and check their security settings, and if you sign in through your company system, tell your IT team.
- Add a second check, so that signing in also needs your passkey or authenticator app.
- Under API tokens, revoke any token you didn't create.
- Come back to Signed-in devices later to check the device hasn't reappeared.
Where Remi Desktop and the Remi CLI keep your sign-in
When you sign in to Remi Desktop or the Remi CLI, the app has to remember that sign-in between uses, and it's reasonable to want to know where. Both apps keep it in the same place: a file in your home folder, ~/.remi/credentials.json, that only your user account on that computer can read. Because they share the file, one sign-in covers both apps. Sign in to either one, and the other is signed in as well.
Until recently the apps kept your sign-in in your computer's keychain instead, which is the password store built into macOS and Windows. The trouble was that after every update the keychain treated Remi as a brand-new app and asked for your computer's password, even to read the sign-in. The file does away with that.
If you're updating from an older version, there's one thing to expect. Remi doesn't read the old sign-in from the keychain, because even reading it would ask for your password, so each app asks you to sign in once more, through your browser as usual. In Remi Desktop, a few other things that were kept in the keychain are affected in the same way, and Keys you've entered in Remi Desktop explains what you'll see.
If you'd rather keep your sign-in in the keychain anyway, set the environment variable REMI_CREDENTIALS_STORE=keychain before you start either app, and it will use the keychain as before.
API tokens
An API token lets something other than you use Remi without signing in, and there are two reasons you might want one. The first is the Remi CLI running in a CI job or a script, where nobody is there to approve a sign-in. The second is another app your team uses, such as a help desk or a reporting tool, that can send its questions to an AI service and could send them to Remi instead. For everyday use, signing in to each Remi app is the way in, and you won't need a token. You'll need two-factor authentication turned on before you can create one.
- Go to Settings then Sign-in and security, and under API tokens, select Create token.
- Give it a Name that says where you'll use it, such as "GitHub Actions" or the name of the app.
- Under What can answers through this token use?, choose one:
- Only what you send, for another app, and the one already picked when the form opens. Remi answers from the messages the app sends, with web search, public data and maths to help, and never reads anything in your account.
- This workspace, for another app that should also know what one of your workspaces knows. Pick the workspace, and Remi can use its facts too, without changing anything there.
- Everything, as you, for the Remi CLI and scripts. The token can do through the Remi API what you can.
- For a token for an app, you can add Instructions, which Remi reads before the app's own on every call, such as "Keep answers under 150 words".
- Under Expires, choose In 7 days, In 30 days, In 90 days, In 1 year or Never.
- Select Create token, and confirm it's you.
- Select Copy token and keep it somewhere safe, as you would a password. Remi shows it only this once, so once you've put it away, select I've saved it.
A token for an app comes with what to paste into the app, under Use it in your app: the Base address, the token as the API key, and remi/auto as the Model. Keep that token on the app's server, never in a web page or an app people download, because anyone who has it can spend your Remi allowance. Remi as the AI in your own app explains what the app's answers can use and what Remi keeps. A token for the CLI goes in REMI_TOKEN, and Use Remi in scripts and CI has the steps. You can make either kind from the terminal too, with remi token create.
The list under API tokens shows each token with when it was last used, and a token for an app shows what its answers can use: Only what you send, or the workspace's name. To change an app's instructions later, select Instructions beside its token, and leave the box empty to send none. A token made for an app only works for that app's questions, so even if it leaked, it couldn't open your chats, documents or settings. That's also why the CLI needs a token made with Everything, as you.
If what you want is Remi answering inside your team chat, such as @remi in Mattermost, that's a connected app, which needs no token.
If a token should stop working, select Revoke next to it, and Yes when Remi asks on the same row. Anything using it stops straight away.
If your company requires single sign-on, you need to be signed in through it to create a token, so if you got in with an email code as an owner, Remi asks you to Sign in with your company first. When a company first requires single sign-on, tokens that were made while signed in another way stop working, and the account's owners are emailed to say which ones. Require single sign-on has the details.
Connected apps
The Connected apps section of Settings then Sign-in and security lists the apps you've let act as you in Remi, such as @remi in your team's Mattermost. Each person connects their own account, so an app only ever acts as the person who connected it, and the chats it starts go to that person's Main workspace. None of them can use your computer or your browser.
To stop an app acting for you, select Disconnect next to it. It stops straight away, and the chats it started stay in Remi. Remi in your team chat explains how to connect one and what it can do.
Change your email
If your company requires single sign-on, your email is part of how your company signs you in, so you can't change it here, and Remi says so when you try. Ask your IT team if it needs changing. The account's owners can still change theirs, after confirming it's them.
- Go to Settings then Profile and select Change email.
- Enter your New email and select Send verification code.
- Type the code Remi sends to the new address, and the change is made.
Your plan, and your team
Plans, usage, top-ups and billing have their own page: Plans, billing and usage. Inviting people and setting their roles is under Invite your team and set roles.
Delete your account
Only the account's owner can ask for this, and it's a request rather than a button, so that nothing is deleted by accident.
- Go to Settings and choose General, in the list under the account's name.
- Under Danger zone, select Request account deletion.
- Check the details and select Send request.
The Remi team receives the request and replies by email and in Contact support. Nothing is deleted until then. Privacy and your data explains how long Remi keeps data after an account is closed.
Sign out
Choose Log out from the menu on your name at the foot of the sidebar.
Plans, billing and usage
How Remi's plans work, what each one lets you upload, what happens when the allowance runs low or out, and how an owner or admin changes the plan, tops up or asks for credits.
Notifications
What Remi lets you know about, where each notification turns up, and how to decide which ones reach your phone, your browser and your email.