# Griffin Auto
Griffin Auto allows you to run Griffin in an automated way, either through the Griffin Switch App in Enfocus Switch, or via a RESTful API, complete with Live Docs.
Griffin Auto is a separate application from tilia Griffin. If you are needing to use the User Interface, you'll want to use tilia Griffin.app (or .exe). If you're automating, whether through Switch or the API, you'll want to use tilia Griffin Auto.
Griffin Switch App Background
In earlier versions, the Griffin Switch App was completely self-contained within Switch. To enable addiitonal features and improve performance, we updated the Switch App to leverage the power of Griffin, which necessitated separating out the Griffin Auto application from Switch.
This is why if you need to run the Griffin through Switch, you will get the Griffin Switch App through the Enfocus App Store which will then talk to and drive the Griffin Auto app that's already installed on your machine.
If you are running Griffin through Enfocus Switch, you simply need to download and install the Griffin Auto application, then control everything through the Griffin Switch App.
If you want to use the Griffin Auto API, see below.
# Starting the Griffin Auto API
To start the API, simply run the following command in Terminal, substituting your license for the dummy example ABCDE-FGHIJ-KLMNO-PQRST-UVWXY:
- /Applications/tilia\ Griffin\ Auto.app/Contents/MacOS/GriffinAuto -k ABCDE-FGHIJ-KLMNO-PQRST-UVWXY
- "C:\Program Files\Tilia Labs\Griffin Auto\GriffinAuto.exe" -k ABCDE-FGHIJ-KLMNO-PQRST-UVWXY
Optionally you can run the command with the "-k ABCDE-FGHIJ-KLMNO-PQRST-UVWXY", which will show all available arguments for Griffin Auto.
After running with a valid license, the terminal will return the URL where Griffin Auto is running. If you visit that address in the browser, you can visit the open API live documentation for Griffin Auto.