HyperAIHyperAI

Log in to HyperAI via bayes

How to log in to HyperAI via bayes

Prerequisites

  • You must have a HyperAI account
  • Your HyperAI account must be able to log in normally
  • The bayes CLI tool has been correctly installed on your computer

Log in with username and password

$ bayes login
Please enter username: username
Please enter password for username:
username has successfully logged in to openbayes

Switch to an organization

If you have joined other organizations, you can also use bayes to switch to a specific organization for operations.

First, view the current organization list:

$ bayes org ls
  ROLE    ID              NAME
  MEMBER  open-tutorials  open-tutorials

Then switch to the organization open-tutorials:

$ bayes org switch open-tutorials
Successfully switched to organization open-tutorials

Similar to the HyperAI web page, when bayes switches to an organization, the containers, data repositories, and other information you see will belong to the current organization rather than your personal account.

You can see which organization you are currently in with the command bayes status:

$ bayes status
Current environment: https://openbayes.com
Current organization: open-tutorials
Username: openbayes
Email: xxx@openbayes.com

If you want to switch back to your personal account, you can use bayes org switch <username>.

Log out of the current account

$ bayes logout
Successfully logged out

The CLI will remember your current username information. The next time you log in, just enter your password:

$ bayes login
Please enter password for username:
username has successfully logged in to openbayes

If you want to switch login accounts, you need to specify the username when logging in:

$ bayes login herobcat
Please enter password for herobcat:
herobcat has successfully logged in to openbayes