# Buying a plan

* [**dApp**](#dapp)
* [**Telegram App**](#telegram-app)

***

## dApp

**1. Visit the website**

Begin by entering the DeGuard VPN site.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdXVd9hmdClCdtUJtK6MBy5-aJoE2G1t9aK65bRTKs1UPlyNTC_ji847Dt1rgOTkJA0gD1IfWTCyoT5Snx8gNGGqcmfiey-aXZsPwn9tlLLtBqXzKtBWiYQ83ZriFh7eTlogRQ3zjyFlrWFlTYuVymjpqUg?key=i0468ssdHVLJlsl2xYQabw" alt=""><figcaption></figcaption></figure>

**2. Connect your wallet**

Ensure your wallet is connected to the site.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfjCWDDm9QMh2peCnKwfRkAIl1oxEkg_x3W42A8j5Indxr9ezGxkrIVCB9WY4x0JM5h5pn8MsR7KZJ6vPbpdVPhQFjNGFmFACNcSkz7lNP7UxFHFQWC_w9loFiw9JJ-0syYYxYO4Xvoe1uXKliKBR4IoBok?key=i0468ssdHVLJlsl2xYQabw" alt=""><figcaption></figcaption></figure>

**3. Choose the network**

Select the network where you want your NFT plan from the menu in the upper right corner.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXecijqZipo_E067phcW7R2Tf2Zf-l9Dq479iBnZjyIIHvV2KI28bHf5tAX_zdZBvuj63o02q0DZzJBD7SmFxh3jQciqbS3Q9yKvsZMOl3F8kInYgWKAqvPq6nBNNLUcsEZhffA0qZjKU9GGUGoGRubXrjpU?key=i0468ssdHVLJlsl2xYQabw" alt=""><figcaption></figcaption></figure>

**4. Choose your plan**

Select the VPN plan that suits your needs and click on the "Mint NFT" button to proceed.

*Seeing a "Not enough balance"?*\
*Click the "Swap it here" button to get tokens for the purchase.*

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeoKmoclDswtrIgMKHPp5hICpD3vuocyBZjUGT7EXBhvkB5zcAZE46EgHIpvDw8bwABO62SovBCSC_d2N3QvY4hXSuTLVA8_99ECxOGdBmsCa550V04vKsBOQ5XzwLu-nCfQPaGFp106m_CcvZCS6oaRw12?key=i0468ssdHVLJlsl2xYQabw" alt=""><figcaption></figcaption></figure>

**5. Confirm the transaction**

Your wallet will prompt you to confirm the transaction. Review the details and approve the transaction.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXelzV50y28et7812jGxjyCxyqGRmlCGlRhsMR8xVQ2ZGL8_wW71oG5HmKZfsbJs4BAZc6PIouy0vAY2295sZzBXH3TJMOPokFw_S-z-xoHWq4XVthFXVeksM7Fv9cRFlDgTkE-Ma2xX6E74DLLO9Tn66yYm?key=i0468ssdHVLJlsl2xYQabw" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfl8Qh0BJX1qYSWZcbhTNK8Rtv5VRtMhqqAqrsh4_Mge_4v0M0bZRYYQxtrVvbzBmoAxsu5Teq1S71OyQrH2aA3re8WNBAP0cNUkjUncxaEMMm6lBcgKcM7hHNTVlNBBcmP_BxoVhlgrdnCnbG9iVjdfhw?key=i0468ssdHVLJlsl2xYQabw" alt=""><figcaption></figcaption></figure>

**6. Successful purchase**

Once the transaction is complete, close the window and review your plan details.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf1QrDQUfNv6_evy0QklglYZm-0up7QWMMVnNlFYStAAHsNeEhZX_YNtgQb0kiHs77iocFLpOZ_oUVM3TgMBnWkOo5CmrRFjtWNZDovrUiyty7zEca6v-qbRI9il6dSxO0p1UpqZAfdq5aWXTcYR9U7ZnT6?key=i0468ssdHVLJlsl2xYQabw" alt=""><figcaption></figcaption></figure>

Your plan card will display the type of plan, the mint date of the NFT, and the start and end dates of your subscription.<br>

To select your VPN protocol, click the "Go to VPN" button.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe2tt6ipTDP1_AFIWoK1BMlTGuAdIFggn_4vb_BQkBdcsJPzgQHKkmbRIvdZBUUf_MAhbIbeOp-D3tD2R78jLLyv4F7QDTWOUiOuTg52THD9nl-i2qUDIemeFBIjI3Gr4zFWZI5i0hxKM7m6iP3seL2n1oO?key=i0468ssdHVLJlsl2xYQabw" alt=""><figcaption></figcaption></figure>

**7. Choose your protocol and country**

Select your desired VPN protocol and country. Then, click on "Generate Config" to create your configuration file.

(*Learn more about these protocols* [*here*](https://docs.deguard.io/product-guide/supported-protocols)*.*)

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd_JV7_rR2zTdYkDqDHGLg8JLrlYvDFDRJGyiR-zj98-MEB-hH1fIEAJWN7e6pYMZ7QqhguIzgGLOuJTsAo6ygVJ3OUTkGsmV8djICQ3i6sE45rNzorAHZFijLFw2Y4sNyXEJtLs65wDZIcGqSJB_RmvbGz?key=i0468ssdHVLJlsl2xYQabw" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXet922TBJstJ8k5TyZlspopf88wJNg-KteFjzQlnb4ROtj93pnGOt2cjw4tDDfJYZ8EdJieuDNPPK-dN5AWQ4iKIaMsjxqrxM_EGTyGEmQPvJYptCwJSlGqlEqXp2z4gQak2ngES-G_vTnPNuySjFs3ahW5?key=i0468ssdHVLJlsl2xYQabw" alt=""><figcaption></figcaption></figure>

**8. Access your configuration**

A QR code will be displayed, which you can scan in the mobile client app for automatic configuration import.

<figure><img src="https://3648846601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvK1mt2hQC8wPl4QjHXDM%2Fuploads%2F1HChDIglqf6hXJX3FAab%2FIMAGE%202024-09-07%2015%3A42%3A42.jpg?alt=media&#x26;token=59cc8cc0-ab07-4d9a-bffb-7f96ab88d864" alt=""><figcaption></figcaption></figure>

Click the "Copy tunnel" button to copy the key to your clipboard or click the "Download .conf" button to save a configuration file with the key.

## Telegram App

**1. Open the MiniApp**\
Start by launching the mini-application on your device.

<figure><img src="https://3648846601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvK1mt2hQC8wPl4QjHXDM%2Fuploads%2F4JONBWf0izv2Ps5OgQyZ%2F%D1%88%D0%B0%D0%B31.PNG?alt=media&#x26;token=52168206-b1d6-4a13-b1d0-7afa3d188a23" alt="" width="375"><figcaption></figcaption></figure>

**2. Complete the onboarding process**\
Follow the onboarding steps provided by the app to get set up.

<div align="center"><figure><img src="https://3648846601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvK1mt2hQC8wPl4QjHXDM%2Fuploads%2FaXE1TbSJOLZKrHGxotHX%2F%D1%88%D0%B0%D0%B3%202.png?alt=media&#x26;token=2f317267-b6af-49f0-8aab-e9491193dd00" alt=""><figcaption></figcaption></figure></div>

**3. Optionally connect your TON wallet**\
If desired, you can connect your TON wallet to the MiniApp.

<figure><img src="https://3648846601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvK1mt2hQC8wPl4QjHXDM%2Fuploads%2F7cBKo3exfOjLC0n40wFy%2Fimage%20(1)%20copy.png?alt=media&#x26;token=1dbab77c-b1f5-4e4b-b706-c8a6879660a6" alt=""><figcaption></figcaption></figure>

**4. Go to the VPN tab**\
Once you're onboarded, navigate to the "VPN" tab within the MiniApp.

<figure><img src="https://3648846601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvK1mt2hQC8wPl4QjHXDM%2Fuploads%2F1WfgqiWYuLqFE48A13kB%2F2.png?alt=media&#x26;token=7387f609-7dae-40b0-a094-3b58fa48808b" alt=""><figcaption></figcaption></figure>

**5. Select the optimal plan**\
Browse through the available VPN plans and choose the one that best suits your needs.

<figure><img src="https://3648846601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvK1mt2hQC8wPl4QjHXDM%2Fuploads%2F5W5Wy2Arl1cNbGGndpvg%2Fimage%20(1).png?alt=media&#x26;token=c3fcdc65-bbab-4937-8d79-5efdb523c47b" alt=""><figcaption></figcaption></figure>

**6. Buy your DeGuard VPN plan with Stars**\
To purchase the selected plan, click the "Buy with Stars" button. Proceed with the payment process to finalize your VPN plan purchase.

<figure><img src="https://3648846601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvK1mt2hQC8wPl4QjHXDM%2Fuploads%2FSyRpujlbkaSl9OVcEZ6P%2Fimage%20(2).png?alt=media&#x26;token=8111dd0d-0de4-4c37-abb8-e6c91e926e4d" alt=""><figcaption></figcaption></figure>

**8. Profit!** \
Your DeGuard VPN plan is purchased and is ready to provide you a safe journey in the internet. After completing the purchase, you will be automatically redirected to the configuration selection tab.

<figure><img src="https://3648846601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvK1mt2hQC8wPl4QjHXDM%2Fuploads%2FoAJoxzkgiif1X72koRfi%2F4.png?alt=media&#x26;token=2e64fde7-5b2d-469d-8997-5f98689d28ba" alt=""><figcaption></figcaption></figure>

**9. Select your desired protocol and country**\
Choose between the WireGuard or VLess protocols and select your preferred country from the available options. After making your selections, click the "Generate Configuration" button.\
(*Learn more about these protocols* [*here*](https://docs.deguard.io/product-guide/supported-protocols)*.*)

<figure><img src="https://3648846601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvK1mt2hQC8wPl4QjHXDM%2Fuploads%2FD7I0BoBqTmtBDrUaOulp%2Fimage%20(2)%20copy%202.png?alt=media&#x26;token=d46fcb4f-0c29-4e70-b700-884d1b760671" alt=""><figcaption></figcaption></figure>

**10. Access your configuration**

* **Show QR-code:** Click on the "Show QR-code" button to display a scannable QR code for easy configuration setup on your device.
* **Copy tunnel:** Alternatively, select the option to copy the tunnel configuration directly to your clipboard.

<figure><img src="https://3648846601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvK1mt2hQC8wPl4QjHXDM%2Fuploads%2FNDn2NsLV0wVnZxmmvNT4%2Fimage%20(2)%20copy%203.png?alt=media&#x26;token=d1095828-8b63-4514-af0f-791ef868b5b9" alt=""><figcaption></figcaption></figure>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.deguard.io/product-guide/guides/buying-a-plan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
