# Rent

Welcome to the tutorial on how to participate in CARE. To get started, you will need a machine with a GPU. Since we want to treat everyone equally and allow users with no technical background to participate in CARE with ease, we have developed a website where users can one-click-deploy a GPU-capable machine and start to CARE. Alternatively, if you wish to use your own machine, please check out our [Self-Host](https://solinscription.gitbook.io/care/tutorial/self-hosted) section.

## Vast.ai account creation

To get started, you will need a vast.ai account, head over to[ vast.ai](https://cloud.vast.ai/?ref_id=103306), and click on **SIGN IN**.

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FJM1c7nYqPcJqre3L765h%2Fimage.png?alt=media&#x26;token=ccf4cf6e-862e-46c6-a04f-77f2305e629c" alt=""><figcaption></figcaption></figure>

Then, click on **Create Account** and follow the instructions. **NOTE: Remember to verify your email address after signing up.**

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FbAnZP6Yu64vVKSaLFJFO%2Fimage.png?alt=media&#x26;token=27f945b8-5777-4c78-bfca-afbf79e8c55b" alt="" width="375"><figcaption></figcaption></figure>

After you've created your account successfully, head over to the [billing console](https://cloud.vast.ai/billing/) and click **ADD CREDIT**. **Note: If its not responsive, perform a hard refresh (`Ctrl + Shift + R` on Windows,  `⌘ + Shift + R` on Mac)**

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FXb1tV0ENryC7JOQffYJx%2Fimage.png?alt=media&#x26;token=cfe005b6-818c-46c0-a9ab-8ecc3d2459cd" alt=""><figcaption></figcaption></figure>

To add credit with cryptocurrency, you can pick Coinbase. Enter the amount you wish to top up then hit **PAY WITH COINBASE**. **Note: We suggest to top up a small amount the first time.**

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FN05Oecydgk5BavGK7Zf9%2Fimage.png?alt=media&#x26;token=b27441d4-19d1-4a57-bdc5-468cb94fcffb" alt="" width="563"><figcaption></figcaption></figure>

Select a Cryptocurrency to pay with then follow the instructions. After you've paid, wait for the credit to appear in your account, this usually is not instant.

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FBOWNzTC0lje6rgPOvHsE%2Fimage.png?alt=media&#x26;token=a812171c-f342-48a3-8e63-aba89ceab363" alt="" width="563"><figcaption></figcaption></figure>

If your top up is successful, you should be able to see your balance here:

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2F3Whl2QgV1MhG3n9UPPqs%2Fimage.png?alt=media&#x26;token=5f95f881-174f-4445-b007-fbc1bea18720" alt=""><figcaption></figcaption></figure>

Now that you have credit in your account, head over to the [account console](https://cloud.vast.ai/account/) and copy your **API key**, you will need this later. **Note: You can always reset your API key to revoke access when needed.**

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FUNw4gXtcrRWbk3LQmqW9%2Fimage.png?alt=media&#x26;token=61b3c981-f9e4-4991-b637-f3f6ee35b649" alt=""><figcaption></figcaption></figure>

## one-click-deploy

Now that you have a vast.ai account, head over to our CARE [website](https://carepow.org). Once you are in, you will be greeted with a welcome screen, click on **Launch** to continue.

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2Fjd8KW0U5PJttIG1oW8G2%2Fimage.png?alt=media&#x26;token=c3d84132-1009-427d-ab69-045211d336ae" alt=""><figcaption></figcaption></figure>

Then connect your wallet and enter your **Vast.ai API KEY** then click **SAVE**. **Note**:

* Use the wallet which contains $sols, holders will receive bonus rewards. Refer to [this ](https://solinscription.gitbook.io/care/rewards)page on how the bonus are calculated.
* We do not store your API KEY, so you will need to enter it every time you operate on our site.

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FhJboJwm39CkaYlfQcw6k%2Fimage.png?alt=media&#x26;token=9fb902d2-2b44-412e-8eeb-1c382508a41a" alt=""><figcaption></figcaption></figure>

After you have connected everything, head over to the **search** section and apply **filters** to search for a machine with the specs you wish to rent.

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FS0eIdHJPgBtMT9gB8u2H%2Fimage.png?alt=media&#x26;token=b2a753c6-c965-4f65-ae71-a31c1534e7a2" alt=""><figcaption></figcaption></figure>

The filters consists of:

* GPU Name
* Number of GPUs on a machine
* Number of effective CPU cores on a machine (some machine share cores between renters, thus "effective")
* Minimum Reliability: How reliable the machine is, the higher the better, maximum reliability = 1
* Minimum duration: How long you can rent the machine for (rented machines can always be terminated)
* **Note: If there are no machines that meet your requirements, by default, we will display the baseline options**

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2F3C3eGmsSCXKQRoDyAcVh%2Fimage.png?alt=media&#x26;token=a0cecb7d-cfee-4dd6-925e-cfbc43800355" alt=""><figcaption></figcaption></figure>

If you are unsure on what each of the specs mean, hover your mouse over it and a short description should pop up.

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2Fmgfk9pzMRPU44bAHeRx6%2Fimage.png?alt=media&#x26;token=8c9012f4-9d57-424d-baaf-c02aa56c34a9" alt=""><figcaption></figcaption></figure>

Once you have decided on which machine to rent, click **RENT** and if your request was accepted, the site will show a *"success"* notification.

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2F60NL4kRn2q6pwhqYrcFA%2Fimage.png?alt=media&#x26;token=6caf3d8a-8af1-4917-a4cc-9f6b5fed7391" alt=""><figcaption></figcaption></figure>

*If you get a 429 error when you try to rent a machine, you probably did not verify your email address, double check the email you registered on vast.ai.*

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FhK8aMAAAkGfiHmXpN1Zr%2Fimage.png?alt=media&#x26;token=f3e88d2b-773d-49eb-be9a-c9eea57c6b4a" alt=""><figcaption></figcaption></figure>

Now, head over to **My Instances, and you should be able to see the machine you rented.**  Here, there are several important controls:

* Destroy: Terminate a machine
* Reboot: Restart a machine
* Dashboard: Website showing your *Folding* status and contributions, see below
* View Logs: Show the latest logs of your machine, see below
* **NOTE: To avoid any errors, allow a few minutes for the machine to initialize before operating**

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FTTPVaLoU7wcGUB3Nx1wY%2Fimage.png?alt=media&#x26;token=285091ec-0879-43a4-9134-7b56d9e48244" alt="" width="418"><figcaption></figcaption></figure>

When entering your dashboard, you will be prompted with a password:

* username: **care**
* password: **your vast.ai api key**

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2Fmmhl2XFKgVEowJczOoFG%2Fimage.png?alt=media&#x26;token=025b1fbf-4804-4b5b-9741-b5504b44cad4" alt=""><figcaption></figcaption></figure>

*If your machine is stuck on "Machine State: **created**" with a disabled **DASHBOARD** button, destroy it and rent another one.*

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FuB1nwDyMEJ2U2eAsrHtP%2Fimage.png?alt=media&#x26;token=2e740cf0-34fb-452f-9dd3-c1c125639bc5" alt=""><figcaption></figcaption></figure>

### Logs

Since every machine has different specs, we cannot guarantee that every single one of them will work flawlessly and maintain at a high workload. A correct running instance should look something like below. If after an hour you do not see any **Completed** or **steps** in your log. We suggest you to destroy your instance and rent another one. If you are unable to get it to work after a few tries, open a ticket in discord.

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2Fas6EJEwqxMkrGeBDLtrO%2Fimage.png?alt=media&#x26;token=affbab00-b878-42dc-9ff2-38002ff07aa3" alt=""><figcaption></figcaption></figure>

### Dashboard

After your machine has been initialized successfully, you should be able to click on **DASHBOARD** to view your folding status. Here, you will be able to view your wallet address, the team you are in and the points you have earned.&#x20;

**Make sure your team is `1065248` and your team is "Solinscription CAREs".**

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2Fsbvm6hpeajFV3L1mQzoU%2Fimage.png?alt=media&#x26;token=de76fcfd-0231-4832-88ea-09f87fea52da" alt=""><figcaption></figcaption></figure>

On a fresh machine, the first time you visit to your dashboard, you will *most likely* see a <mark style="background-color:green;">GREEN</mark> CPU status and <mark style="background-color:red;">RED</mark> or <mark style="background-color:yellow;">YELLOW</mark> GPU status, this is **perfectly normal**, since GPU tasks requires a bit more time to start.

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FiAgUGKUXk17okMzAmCZR%2Fimage.png?alt=media&#x26;token=bb73802e-1d46-497f-91e6-17231c6ef9c6" alt=""><figcaption></figcaption></figure>

After around 15-30 minutes, you should see your GPU status turn <mark style="background-color:green;">GREEN</mark>. Congratulations, you have started folding and is participating in CARE :tada:. Refer to [this ](https://solinscription.gitbook.io/care/rewards)section on how the reward system is designed.

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2Fy6OsMB9uxlQITgzTMdmD%2Fimage.png?alt=media&#x26;token=54563618-1c6c-4af4-be4e-0ba3babb389c" alt=""><figcaption></figcaption></figure>

Another cool little feature is that you can also pick research you want to support in

<figure><img src="https://842416269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd83sD6bWBn3s9Snk7VbG%2Fuploads%2FZx7w3f0byt84RlFzecXt%2Fimage.png?alt=media&#x26;token=89680e71-02ea-4ae2-855d-c2a7f4dffcb6" alt=""><figcaption></figcaption></figure>

## **That's all. You have started CAR(E)ING!** :heart:
