---
agentTools:
  projectIndex: https://makinarocks-link.readme.io/llms.txt
---

# mrx-link login

Link SDK requires a **product key** for activation. This page explains the steps for requesting and entering the product key.

> 📘 How to get a product key
>
> 1. Request a product key.
>    1. If you are using Link for the first time, click **[here](https://link.makinarocks.ai/start/)** and fill out the following form and click the Submit button.\
>       ![](https://files.readme.io/7141522-productkey-0-1.png)
>    2. If you have a previously received product key, click **[here](https://link.makinarocks.ai/forgot/)** and fill out the following form and click the Submit button. (It is also possible to use the existing product key for Link Jupyter at the same time)\
>       ![](https://files.readme.io/25c4b16-productkey-0-2.png)
> 2. Check the **Product Key** in the email. (Email and Product Key will be required to run Link)\
>    ![](https://files.readme.io/787c02b-productkey-2.png)

Enter the email and product key information.

```python CLI
mrx-link login --email <email> --product-key <product-key>
```

* **Options**

  * `--email EMAIL`: Enter your email address.
  * `--product-key PRODUCTKEY`: Enter the product key information.
  * `-h`, `--help`: Displays a help message.

    ```
    Usage: mrx-link login [OPTIONS]

      Enter your email and product key and log in to MRX Link.
      
      Use like this, mrx-link login --email <EMAIL> --product-key <PRODUCT_KEY> 
        
      You can get your key in your browser here : https://makinarocks.ai

    Options:
      --email TEXT        Your email to log in to MRX Link  [required]
      --product-key TEXT  your product key to log in to MRX Link  [required]
      -h, --help          Show this message and exit.
    ```

* **Output**
  ```
  Link: User configuration completed successfully.
  New configuration stored in license_file_path
  ```

* **Troubleshooting**
  * *Check your internet connection and try again.*
    * This occurs when there is an Internet request error or timeout.
  * *ValueError: Invalid email or product key. Please check your email and product key again.*
    * This occurs when the email or product key value is incorrect.
  * *ConnectionError: An unknown error occurred. If the problem continues, visit <https://makinarocks-link.readme.io/discuss> for discussion, or <https://link.makinarocks.ai/technical_support/> for technical support.*
    * This occurs when an unknown error happens when connecting to the internet.