# Deep links A deep link opens Gary at one place: a Gary's chat, a task, a Lab, or a Settings page. Use one in a bookmark, a shortcut, a wiki page, or a message another system sends you. There are two kinds. A web link opens chat.getquantis.com in a browser. An app link starts with `gary://` and opens the Gary app on your iPhone, Android phone, or Mac. ## Web links | Link | What it opens | | --- | --- | | `https://chat.getquantis.com/#/g/` | That Gary's chat. | | `https://chat.getquantis.com/#/g//c/` | One conversation with that Gary. | | `https://chat.getquantis.com/#/new/` | The new chat page, with that Gary picked. Without `/`, your first Gary is picked. | | `https://chat.getquantis.com/#/newgroup` | **New group chat**. | | `https://chat.getquantis.com/#/p/` | A group chat. | | `https://chat.getquantis.com/#/tasks` | **Tasks**. | | `https://chat.getquantis.com/#/task/` | **New task**, with that Gary picked. | | `https://chat.getquantis.com/#/labs` | **Labs**. | | `https://chat.getquantis.com/#/labs/` | One Lab. | | `https://chat.getquantis.com/#/settings` | **Settings**. | | `https://chat.getquantis.com/#/settings/` | One Settings page: `account`, `plan`, `ai`, `notifications`, `suggestions`, `connections`, `vault`, `skills`, `approvals`, or `security`. | | `https://chat.getquantis.com/#/plan` | **Settings** on **Plan**. | ## App links | Link | What it opens | | --- | --- | | `gary://g/` | A new chat with that Gary. | | `gary://g//c/` | One conversation with that Gary. | | `gary://g//t/` | A task. | | `gary://g//r/` | A routine. | | `gary://p/` | A group chat. | | `gary://labs/` | A Lab. | | `gary://code/g//s/` | A code session, on the Mac. | The app must be installed. The links in Gary's notifications are app links, which is how a notification opens the right chat. ## Find the link for a place - **On the web.** Open the chat, task, or Lab and copy the address from the address bar. - **On the Mac.** Right-click a chat in the sidebar and choose **Copy link**. A code session has **Copy link** too. - **On iPhone.** Press and hold a chat in the list and choose **Copy link**. ``, ``, and the other parts in angle brackets are IDs, and you copy them as part of the link. An ID doesn't change when you rename a Gary or a chat. ## Start a chat with a prompt filled in Add `text` to a new chat link to put a prompt in the message box. ```text https://chat.getquantis.com/#/new/?text= gary://g/?text= ``` - The prompt is placed in the message box. Gary doesn't send it. You read it, change it if you want, and send it. - The prompt can be up to 2,000 characters. Longer text is cut at 2,000. - Encode the prompt for a link. A space is `%20`, and a line break is `%0A`. - If the message box already has a draft, Gary keeps your draft and ignores `text`. For example, this link opens a new chat with a Gary and the prompt "Sum up yesterday's support tickets": ```text https://chat.getquantis.com/#/new/?text=Sum%20up%20yesterday%27s%20support%20tickets ``` ## Where to use them - **Bookmarks.** Bookmark each Gary's chat, **Tasks**, or a Lab you open every day. - **Shortcuts on iPhone and Mac.** Add an **Open URLs** action with a `gary://` link, and run it from your Home Screen or with Siri. Shortcuts also has Gary's own actions to send a message and run a routine. See [Gary for iPhone](/iphone). - **A wiki or a runbook.** Put a link with a prompt beside a procedure, so anyone on the page starts the same request with their own Gary. Use a link without ``, and each person's first Gary is picked. - **A message from another system.** Have a webhook, an alert, or a ticket include a prompt link, so the person who reads it starts Gary on the problem in one step. - **Your own notes.** Link from a calendar event or a to-do item to the conversation where the work is. ## Who can open a link A link points to a place. It doesn't grant access to it. - **You're not signed in on the web.** Gary shows the sign-in page, then opens the place the link points to. - **You're not signed in to the app.** The app asks you to sign in, then opens the link. - **The link points to something that isn't yours.** Gary opens your own home page and shows nothing from the link. To let someone else see a Lab, share the Lab. See [Build a Lab](/labs). - **The chat or Lab was deleted.** Gary opens the Gary's chat or the **Labs** page and says the item is gone. - **The app isn't installed.** A `gary://` link does nothing. Use the web link in places where you can't be sure. A link never carries your sign-in, so it's safe to paste one into a document other people read. A prompt in a link is visible to anyone who can see the link, so don't put private details in it.