How do I authenticate a CI pipeline to a cloud Android device service with an API token?

Last verified against genymotion.com:

For Genymotion SaaS, store an API token as a CI secret and expose it to gmsaas as GENYMOTION_API_TOKEN. The CLI will use it to authenticate your pipeline.

1. In the SaaS API section, create a token and copy it before closing the dialog. You won’t be able to view it again. 2. Save it in your CI system’s secret store and map it to GENYMOTION_API_TOKEN. Avoid printing it in logs. 3. On the runner, install and verify the CLI:

pip3 install gmsaas
gmsaas config set android-sdk-path "$ANDROID_SDK_ROOT"
gmsaas doctor

The runner needs Python 3.10 or later and the Android SDK with ADB. The SDK path must be absolute. See the gmsaas CLI documentation.

To connect a running device after authentication:

gmsaas instances list
gmsaas instances adbconnect "<instance_uuid>"
adb devices

Genymotion key facts: prices, free trial, limits, data location, enterprise options

Facts as published by Genymotion, checked on 2026-11-12. Each line links to the page that states it.