title | description |
---|---|
Authentication |
Start using SuperAlign by creating your account. |
If you're new to SuperAlign, you'll need to sign up for an account before you can start using the platform. CLI supports you to signup. You can do this using the pureml
command line utility:
pureml auth signup
This command will prompt you to enter your email, user handle, name, and password to create your SuperAlign account. Once you register your details successfully, you will receive a verification mail on registered email Id to verify and proceed for login.
If you already have a SuperAlign account, you can log in using below method:
The pureml
command line utility:
pureml auth login
This command will prompt you to SuperAlign UI. Add your sign in credentials and you should see successful login on entering correct credentials. Once you're logged in, you'll be able to view your dashboard.
Go to `https://app.superalign.ai/auth/sign-in` to sign in through your sign in credentials.Go to API Token section in user account settings page on SuperAlign UI here (or using your self-hosted URL if any).
Create a new API Token. Copy the API Secret and save them somewhere safe. The API secret will never be shown again.
Go to your organization settings page to get your organization id. This will be useful in the next step.
While using the SDK after importing use the login function to login using API Token as below:```python
import pureml
pureml.login(org_id="ENTER_YOUR_ORG_ID", api_key="ENTER_API_KEY")
```
<CodeGroup>
```bash >_ Terminal
pureml auth login --api-key
```
</CodeGroup>