> For the complete documentation index, see [llms.txt](https://docs.chiliz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chiliz.com/pt-br/desenvolver/basico/conectar-a-chiliz-chain.md).

# Conectar à Chiliz Chain

Conecte-se à Mainnet ou Spicy Testnet da Chiliz Chain via endpoints RPC públicos (HTTP/WebSocket) ou executando seu próprio nó.

Há duas formas de conectar seu projeto à Chiliz Chain:

* Usando um endpoint RPC: Mainnet ou Testnet.
* Executando seu próprio nó Chiliz Chain.

Você pode usar endpoints RPC para interagir com um nó diretamente via HTTP ou websockets.

{% content-ref url="/pages/KihY9WTbeqQoGdtY22ek" %}
[Conectar via RPC](/pt-br/desenvolver/basico/conectar-a-chiliz-chain/conectar-via-rpc.md)
{% endcontent-ref %}

Você também pode executar seu próprio nó Chiliz Chain, o que oferece maior controle e privacidade, mas exige mais habilidade técnica e recursos.

{% content-ref url="/pages/M3tV99SSmb7l1pDRS3fX" %}
[Executar um nó Chiliz Chain](/pt-br/desenvolver/basico/conectar-a-chiliz-chain/executar-um-no-chiliz-chain.md)
{% endcontent-ref %}

Se você é um Validador da Chiliz Chain, veja aqui o guia para executar seu próprio nó validador:

{% content-ref url="/pages/ZEThCJC3OOk7dp2wFQuK" %}
[Executar um nó Validador](/pt-br/aprender/sobre-validadores/executar-no-validador.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chiliz.com/pt-br/desenvolver/basico/conectar-a-chiliz-chain.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
