> For the complete documentation index, see [llms.txt](https://docs.ready.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ready.co/telegram-wallet-deprecated/setup-guide.md).

# Setup guide

#### 1. [Create a telegram test account](https://docs.ton.org/v3/guidelines/dapps/tma/guidelines/testing-apps#using-bots-in-the-test-environment)

#### 2. Add a username to your test account

#### 3. Install dependencies

```tsx
npm install @argent/tma-wallet starknet
```

[@argent/tma-wallet](https://www.npmjs.com/package/@argent/tma-wallet) is the Telegram wallet library.

[starknet.js](https://starknetjs.com/docs/guides/intro) is used to interact with Starknet.

#### 4. Create a Telegram Bot

Start a chat with [@BotFather](https://telegram.me/BotFather).

Prompt `/newbot` and follow the instructions.

#### 5. Create a Telegram mini-app

Run `/newapp` and follow the instructions.

You’ll be asked by BotFather to send a webapp url. You can either send anything and change it later or complete this after deploying your webapp.
