tutorialsreferenceguide

Authentication

You will need to be authenticated to perform operations such as cloning a template or deploying a SPAI project to the cloud. You will be prompted to authenticate whenever is required, however you can also authenticate manually.

spai auth --help

Login

To login, run the following command:

spai auth login

If you are not logged in, you will be given a URL to visit in your browser. Once you visit the URL and login with your email and password, you can return to the CLI. The first time, you will have to create an account.

Logout

To logout, run the following command:

spai auth logout

If you want to login in the future with a different account, make sure to visit the URL provided by the CLI. Otherwise, the next time you login the same account will be used.

Credentials

You can get your S3 credentials from AWS, in case you need them for whatever is needed. Simply run the following command:

spai auth credentials

Troubleshooting

If you encounter any issues during the installation of SPAI, please get in touch with use through our Discord server.

Back to top