> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unvest.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to use Unvest with Safe Multisig?

> If you are planning on using a Safe Multisig to interact with Unvest, we got you covered!

This step by step tutorial shows you how to connect a Safe (Formerly Gnosis) multisig wallet to Unvest and deploy a token vesting contract.

<Note>
  It's required that you create a custom app in the [Safe web](https://app.safe.global) and use either `https://app.unvest.io` for Unvest mainnets or `https://test.unvest.io` for Unvest testnets.
</Note>

<Frame>
  <iframe width="560" height="315" src="https://www.youtube.com/embed/3bYLw83CYq8?si=N5Tas3qPwgIrYPuH" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />
</Frame>

<Steps>
  <Step title="Go to SafeApp">
    In order to use Unvest Tools with a Safe multisig, you will have to interact directly from your [Safe](https://app.safe.global) web or mobile app.
  </Step>

  <Step title="Go to the Unvest App">
    Once you are in the Safe web, you will need to open Unvest App.

    If this is your first time you will have to create a custom app:

    * Head to Safe Apps and [create a custom app](https://app.safe.global/apps/custom).
    * To interact with Unvest mainnets enter the following URL `https://app.unvest.io`.
    * To interact with Unvest testnets enter the following URL `https://test.unvest.io`.

    <Warning>
      In case you see a message `The app doesn't support Safe App functionality` just try to type again the URL.
    </Warning>

    <Frame>
      <img src="https://mintcdn.com/unvest/ZPndW_DYd52BB9Sr/images/safe-app-add-unvest-app.png?fit=max&auto=format&n=ZPndW_DYd52BB9Sr&q=85&s=a3c5fb343b379b2c059160cc5e11c8f0" width="1262" height="1306" data-path="images/safe-app-add-unvest-app.png" />
    </Frame>
  </Step>

  <Step title="Head to Unvest Tools">
    Click on Unvest Team to use Unvest various available tools such as vesting creation, liquidity-locks, staking-pools, etc...
  </Step>

  <Step title="Connect your wallet and select SafeApp connector">
    Click on the **Connect** button at your top right.

    Make sure that you select the Safe connector. It's important that you make sure that you have selected this connector, otherwise the interaction will be prone to errors.

    <Frame>
      <img src="https://mintcdn.com/unvest/ZPndW_DYd52BB9Sr/images/unvest-safe-app-connector.png?fit=max&auto=format&n=ZPndW_DYd52BB9Sr&q=85&s=ec226ba51d4bfaf6538106ec0bf04d89" width="2818" height="1707" data-path="images/unvest-safe-app-connector.png" />
    </Frame>
  </Step>

  <Step title="Authenticate">
    Once you have selected the Safe connector, you will be offered two options to authenticate: on-chain and off-chain.

    * On-chain authentication: Messages are stored in the Safe contract, which requires executing a transaction to store the message hash in the contract, resulting in additional gas costs.
    * Off-chain authentication: Just like the on-chain authentication it will require the signature from the owners of the Safe. The difference is that this will be stored in the Safe Transaction Service. It stores the messages and signatures in Safe's database. It's a centralized service, but it's open-source and can be deployed by anyone.

    Instructions for both methods will be shown to you during your authentication process.

    <Frame>
      <img src="https://mintcdn.com/unvest/ZPndW_DYd52BB9Sr/images/unvest-safe-app-authentication.png?fit=max&auto=format&n=ZPndW_DYd52BB9Sr&q=85&s=1296785caa2418cb0ed13e594be5aad3" width="1280" height="1051" data-path="images/unvest-safe-app-authentication.png" />
    </Frame>

    <Note>
      In case you are going with the off-chain authentication, take note that owners will be required to accept the message in a desktop, as this feature is not available yet in Safe mobile app. Also, we recommend you not to switch wallets within the same browser while authenticating.
    </Note>
  </Step>
</Steps>
