> 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

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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
