[Go to site: main page, start]

Skip to content
MultiloginHelp Center

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:

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. 

  1. Go to Visual Studio Code 
  2. Click “Download for <your OS>”
  3. 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:

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.

Visual Studio Code welcome screen with New File highlighted

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:

  1. Make sure the app is launched, as it makes profile launching possible
  2. Copy and edit the reference script, depending on your automation framework of choice:
    1. Selenium automation example
    2. Puppeteer automation example
    3. Playwright automation example

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.

  1. Click Extension marketplace button on the left panel
  2. Type “Python” in the search bar
  3. Click “Install” button at the “Python” extension
Visual Studio Code Extensions search for Python with Install highlighted beside the script editor

Step 7: install modules

  1. Click “Terminal” → “New terminal”
    Visual Studio Code Terminal menu with New Terminal highlighted
  2. In case of Python and our Selenium script, you will need to install requests and selenium modules. Type the following commands:
    pip install selenium
    pip install requests
    Visual Studio Code with a Python automation script and the integrated terminal open
  3. 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 pip3 command instead of pip.

Step 8: run the script

Click “Run” → “Run without debugging” (or “Start debugging”)

Visual Studio Code Run menu with Start Debugging and Run Without Debugging highlighted

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.

Stay in the loop

Catch the latest updates, exchange advice, explore practical use cases.

Get product updatesTelegram channelAsk other usersTelegram chatExplore use casesDiscord community