# How It Works

**For Contributors (Grafi Agent)**

1. **Download and Install:** Install Grafi Agent on your GPU-enabled device via the Grafi Cloud Console.
2. **Connect to the Network:** Authenticate your device using Web3 credentials and connect it to the Grafilab ecosystem.
3. **Start Earning:** Once connected, your GPU is listed for rent. Earnings are calculated based on usage, uptime, and performance metrics.
4. **Monitor and Optimize:** Use the Grafi Cloud Console to track your GPU’s performance, rental history, and earnings in real-time.

**For Renters:**

1. **Explore Resources:** Browse available GPUs categorized by performance, cost, and location.
2. **Select GPU:** Choose from CePIN or DePIN options based on your task requirements.
3. **Deploy Tasks:** Use pre-configured Docker templates or custom configurations to set up your computational tasks.
4. **Monitor Progress:** Track task performance and GPU metrics through the dashboard.
5. **Complete and Pay:** Payments are processed securely using credit cards or supported cryptocurrencies, with contributors receiving their share directly.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.grafilab.io/home/whitepaper/grafi-cloud/how-it-works.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
