Prerequisites
- A New Relic account with data you want to query
- Permission to manage API keys in New Relic
- A Rocketgraph account — sign up here
1. Create a read-only user in New Relic
New Relic access is controlled through roles. To create a user with read-only permissions:- Go to Administration → User Management → Users
- Click Add user
- Fill in the user details and assign the Read only base role
- Set the user type to Basic user (no full-platform access needed)
- Click Save
If you prefer to use your own account’s API key, you can skip creating a new user and proceed directly to creating the key — but a dedicated read-only user is recommended for least-privilege access.
2. Create a User API key
- Go to one.newrelic.com → API Keys
- Click Create a key
- Set Key type to User
- Select the read-only user you created above
- Give the key a name (e.g.
Rocketgraph datasource) and click Create a key - Copy the key — you will need it in the next step
3. Add New Relic as a datasource in Rocketgraph
- Log in to Rocketgraph
- Navigate to the Datasources tab
- Click Add datasource and select New Relic
- Enter your:
- Account ID (found under Administration → Account settings)
- User API Key
- Click Save — Rocketgraph will verify the connection