Quickstart
Put two virtual chargers online against your CSMS and wait until they connect.
You need an OCPPLab token and the WebSocket URL of your CSMS.
Set it up with your coding agent
Add the OCPPLab SDK to this project and put two virtual chargers online against my CSMS. Follow the [OCPPLab quickstart](https://docs.ocpplab.io/get-started/quickstart) step by step, in this project’s language (TypeScript or Python). Read the token from the `OCPPLAB_TOKEN` environment variable and the CSMS URL from `CSMS_WS_URL`; never write either into a file.Set your token and CSMS URL
Generate a token in Studio under Settings → SDK tokens. It is shown once.
Why it polls
Creating a location returns 202 Accepted at once and deploys the chargers in the background. The script calls deploymentRuntimeOps.status (deployment_runtime_ops.status in Python) every 5 seconds until each charger’s stage is online. If a charger’s outcome is failed or stuck, its hint says why. See Long-running operations.
Next steps
- Choose another charger model:
evcharger.catalog.listBrands(), thenlistModels(brand_slug). - Start from one of the 20 ready-made location templates:
evcharger.templates.list(). - Run a charging session: Plug, charge and unplug.