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

# First steps with Connector

> Connecting to Tonhub wallet from your dApp or bot

To connect your app to Tonhub and Sandbox wallets you need to use `ton-x` library. At this time library supports only Tonhub wallets, but in future it would be expanded to more wallets.

## Installing library

`yarn add ton-x`

<Warning>
  ### Library requires Buffer polyfill

  To install polyfill, install `buffer` package and import it before importing `ton-x`.
</Warning>

## Creating a connector

There are two ways to connect to a Tonhub:

* [Remote Connector](/docs/tonhub-remote-connector) , similar to [Wallet Connect](http://walletconnect.com)
* [Local Connector](/docs/tonhub-local-connector) is used when your app is running as an extension.

Or you could use **react-ton-x** wrapper for both [**Read here**](/docs/react-ton-x)

***

What’s Next

Now you can request your first transaction!
