Skip to main content

Quick start

note

This is a guide to get started with Lila in under 5 minutes.

Install Lila CLI and dependencies

  1. Install the CLI:
# python >= 3.11 required
pip install lilacli
  1. Playwright needs web drivers to run the browser locally:
playwright install chromium
  1. Create a new directory:
mkdir lila-demo
cd lila-demo
  1. Initialize a new Lila project:
lila init

Get the API Key

If you don't have an account, first create one in https://app.lila.dev and then:

  1. Go to https://app.lila.dev/ and click on the API Keys option in the sidebar
  2. Copy the default API Key

Run your first test case

LILA_API_KEY=<api-key> lila run demo.yaml