> For the complete documentation index, see [llms.txt](https://docs.smartbotpro.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.smartbotpro.io/scripts/variables/user-variables.md).

# User variables

There are 2 types of variables in Smartbot Pro: user (i.e., each user has its own value) and global (the value is the same for all bot users). In this article, we will talk about the first

User variables are anything you can create and assign to your clients, for example:&#x20;

* %Bonuses% (counter replenished with each target action)&#x20;
* %Status% ("buyer", "interested", "regular customer")&#x20;
* %Test passed% (current user status with yes-no values)&#x20;

These variables are created by you depending on your needs.&#x20;

{% hint style="info" %}
You can use variables in conditions by branching script logic&#x20;
{% endhint %}

To create a variable, go to the section of the same name and click "Add Variable"

<figure><img src="https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2Fnhh97jJJXGlTr6adJY94%2F%D0%94%D0%BE%D0%B1%D0%B0%D0%B2%D0%B8%D1%82%D1%8C%20%D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%83%D1%8E.png?alt=media&amp;token=c6362566-d69b-4ecd-a0ee-300bee988407" alt=""><figcaption></figcaption></figure>

Select the desired type of variable, enter the name and make sure that the access level (lower window) is "User variable"

<figure><img src="https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2F71RfD6htgniKj0bqgstD%2F%D0%9F%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%B0%D1%8F.png?alt=media&amp;token=8a327f47-4913-42f3-8f85-1a9ba8be937d" alt=""><figcaption></figcaption></figure>

You can find out [what types of variables are in Smartbot Pro here](https://app.gitbook.com/o/-M0DMiuC0q5onO-ID_le/s/uRfd5lEYYH6D50QjzeAX/~/changes/pA05wngT4WvDNVoE80bp/scripts/variables#vidy-peremennykh).

Now the created variable will be individual for each user of the bot.
