> For the complete documentation index, see [llms.txt](https://imtoken.gitbook.io/developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://imtoken.gitbook.io/developers/products/universal-links.md).

# Universal Links

### What are Universal Links

Universal Links are HTTPS URLs that enable seamless navigation between web content and mobile applications. When a user clicks on a Universal Link, the system checks if the corresponding app is installed. If it is, the app will open directly to the specified content; if not, the link will open in a web browser.

### Scenario Description

* Users access your product on a PC and scan a specified link with their mobile device to enter the DApp within imToken, helping them complete more operations.
* Users visit your product through a mobile browser and enter the DApp within imToken via a specified link, aiding them in completing additional tasks.
* Your application does not integrate payment functionality, so you need to guide users to open the imToken app to initiate quick payments.

{% hint style="info" %}
&#x20;If users do not have the imToken app installed, they will be directed to download and install it.
{% endhint %}

{% hint style="success" %}
Even if the imToken app is locked, not logged in, or not opened, it will still automatically redirect (after the current transaction is completed).
{% endhint %}

### Quick Start

Before you begin, ensure you have a webpage that can be accessed by mobile devices.

#### **Define Link Structure**:&#x20;

#### The structure of imToken's Universal Link follows this format:

```
https://connect.token.im/link/navigate/DappView?url=<URL>
```

#### **Create Links**:

* Replace `<URL>` with the actual URL you want to navigate to within the imToken application.
* Ensure that the URL is properly encoded to handle special characters. For example:

  <pre data-overflow="wrap"><code>https://connect.token.im/link/navigate/DappView?url=https%3A%2F%2Fexample.com%2Fpath
  </code></pre>

#### **Usage Example**: To create a link that directs users to a specific DApp, you can format it as follows:

```
https://connect.token.im/link/navigate/DappView?url=https://tokenlon.im/instant
```

1. **Web Integration**:\
   To integrate this link into a webpage, use an anchor tag:

   <pre data-overflow="wrap"><code>&#x3C;a href="https://connect.token.im/link/navigate/DappView?url=https://tokenlon.im/instant">Open DApp in imToken&#x3C;/a>
   </code></pre>
2. **Integration via QR Code**:

You can also generate a QR code that encodes this link for easy scanning by users on their mobile devices.

<figure><img src="/files/5hrLEyWGz1Ci8TEYOj18" alt=""><figcaption></figcaption></figure>

### Links

* imToken Brand：<https://token.im/brand/imToken-brand.zip>
