# Setup an IoTeX RPC Node

## Bootstrap a Full Node

{% hint style="success" %}
[-> Refer to the bootstrap guide on GitHub for configuring a full node ](https://github.com/iotexproject/iotex-bootstrap#iotex-delegate-manual)
{% endhint %}

### Configure a Gateway <a href="#interact-with-iotex-full-nodes" id="interact-with-iotex-full-nodes"></a>

In case you want to run an IoTeX Gateway and use it as an RPC endpaint to broadcast transactions, make sure you follow the bootstrap guide linked above with the following two accortezze:

1. When downloading the snapshot file, make sure you download the file that includes database indexes:

<figure><img src="https://content.gitbook.com/content/EyawgxYexImpo6OGzEiR/blobs/e5Yhq6WL3fHPlvd7FRif/image.png" alt=""><figcaption></figcaption></figure>

2. When running the docker file, make sure you include the "**gateway**" argument:

<figure><img src="https://content.gitbook.com/content/EyawgxYexImpo6OGzEiR/blobs/dSlXoTPEX3pzqg6Wk57z/image.png" alt=""><figcaption></figcaption></figure>

3. Ensure that port `15014` is mapped in your docker run command and it's open in your firewall if you plan to use your node as an **Ethereum RPC gateway**. Alternatively, open port `14014` for operating the node as an IoTeX Native RPC Endpoint - though this option is considered deprecated.


---

# 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.iotex.io/blockchain/build/node-operators/setup-an-iotex-rpc-node.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.
