Getting started with automation scripting
Use this guide to prepare your computer for Multilogin automation scripts. First choose whether you need to automate browser profiles or Android cloud phones, then install an IDE and the required language/runtime, use the matching Multilogin reference example, and run the script.
➡️ For browser automation, use Selenium, Puppeteer, or Playwright. For native Android app automation on cloud phones, use ADB or Appium.
IDE examples: Visual Studio Code, PyCharm, WebStorm, Xcode
IDE choice completely depends on your preference. You can always switch to the other editor.
If you want to launch the script via terminal (or Command Prompt/Powershell in Windows), you have to refer to the documentation of the programming language your script has been written in. For example, there are official docs related to Python usage and installation:
- Windows: Using Python on Windows
- macOS: Using Python on macOS
- Linux: Using Python on Unix Platforms – On Linux
Before you start
For the Python + Selenium example in this guide, make sure you have:
- A Multilogin browser profile
- Access to automation on your plan
- Python installed
- An IDE such as Visual Studio Code
- A valid Multilogin automation token
- The Multilogin desktop app running for the example workflow
Step 1: download and install IDE client
We need to download a client for editing and running our code. This article uses Visual Studio Code as a reference.
- Go to Visual Studio Code
- Click “Download for <your OS>”
- Open the installation file and follow the instructions
Keep in mind, that the steps for each OS are different. VS Code knowledge base has more info about installation for each OS:
- Windows: Visual Studio Code on Windows
- macOS: Visual Studio Code on macOS
- Linux: Visual Studio Code on Linux
Step 2: choose what you want to automate
Pick the tool based on the task:
- Browser interactions: Selenium, Puppeteer, or Playwright
- Android app actions on cloud phones: ADB or Appium
- Create, start, stop, or manage profiles: Multilogin API or CLI
- AI-agent workflows: use a supported Multilogin agent tool
This guide uses Python and Selenium as the example setup for browser automation.
Step 3: open IDE and create a new file
If you use VS Code, you will see a welcome screen. Click “New File” button. Enter a file name in the search bar (e.g., script.py). The program will also ask to pick a directory.

Step 4: install an interpreter for the language
It is completely different for every IDE. If you use VS Code and Python, follow the steps from the knowledge base: Getting Started with Python in VS Code.
Step 5: use a reference script
Now, when you are ready to start, you need to connect the script to the Multilogin API and define functions for connecting and launching the profile. We have reference scripts, which you can use and adjust for your needs. Follow the steps below:
- Make sure the app is launched, as it makes profile launching possible
- Copy and edit the reference script, depending on your automation framework of choice:
Step 6: install Python and modules
Install Python from the official Python source for your operating system, then confirm it works:
python --version
Or, depending on your system:
python3 --version
Then install the Python extension in VS Code.
- Click Extension marketplace button on the left panel
- Type “Python” in the search bar
- Click “Install” button at the “Python” extension

Step 7: install modules
- Click “Terminal” → “New terminal”
- In case of Python and our Selenium script, you will need to install
requestsandseleniummodules. Type the following commands:pip install selenium pip install requests
- Follow the steps mentioned in the terminal (e.g., it may ask for updating pip installer)
If there will be issues with running the script, consider using
pip3command instead ofpip.
Step 8: run the script
Click “Run” → “Run without debugging” (or “Start debugging”)

Expected result: the script runs from your IDE and starts the selected Multilogin browser profile. If the reference script includes browser actions, those actions run inside that profile.
Once the example works, adjust the script for your workflow or switch to the framework that fits your browser automation setup. You can refer to the options of our API in the corresponding documentation: How to navigate Multilogin API documentation with Postman. For cloud-phone workflows, continue with the ADB or Appium guides instead.
This article includes third-party links that we don’t officially endorse.