# Create an RPC endpoint

> Create an Ethereum endpoint and copy the URL you will use for your first request.

## Create the endpoint

1. Sign in to the [GetBlock dashboard](https://account.getblock.io/).
1. In **Endpoints**, select **Get endpoint**.
1. For this example, choose **Ethereum**, **Mainnet**, **Full** and **JSON-RPC**. Select a location.
1. Select **Get**, then copy the complete URL from the endpoint list.

The URL contains your access token. Treat the whole URL as a credential.

## Connect your application

Save the URL as `GETBLOCK_ENDPOINT` in your application's environment. Use it for the [first JSON-RPC request](/api-reference/ethereum-eth/eth_blocknumber-ethereum/).

For a different network, create another endpoint with that network selected. The endpoint determines which chain receives the request.
