## Rollbar integration Rollbar is a real-time error monitoring and observability platform that tracks errors, exceptions, and crashes across your applications. Integrating Rollbar with Frontegg lets your application list and manage items (errors), occurrences, and deploys, query data with RQL, and administer projects, teams, and users on behalf of your users. Rollbar authenticates with **access tokens** (no OAuth flow). The integration sends a Project Access Token in the `X-Rollbar-Access-Token` header. You generate the token in your Rollbar account and paste it into the Frontegg portal. Prerequisites - A Rollbar account ([sign up for free](https://rollbar.com/signup/)) - At least one Rollbar project - Owner or admin access to the project (and to the account, if you want account-level tools) ### Connect Rollbar #### Step 1: Open the Project Access Tokens page Log in to [Rollbar](https://app.rollbar.com), open your project, then go to **Settings → Project Access Tokens**. Rollbar provisions a set of default ingestion tokens with every project. Each row shows the token's **scopes** under its name — the defaults are `post_client_item` and `post_server_item`. A `read` / `write` token is **not** created by default, so you will create one in the next step. Tokens are shown only once Rollbar displays the full access token value only at creation. Afterward, the list shows the token's **Public ID** — which cannot be used for API calls. Reuse a token whose value you have already saved, or create a new one to obtain a fresh value. ![Rollbar Project Access Tokens page](/assets/rollbar-1.5d60373340138b9c54447a7d37c515b84e59704d609b38505ed5f143419f341d.1ce25488.png) #### Step 2: Get a Project Access Token with read and write scopes The integration needs a Project Access Token with the **`read`** and **`write`** scopes. Since Rollbar does not create one by default, click **Create New Token**, enter a name such as `Frontegg Integration`, select **read** and **write**, then click **Create token** and copy the value. If you already have a read/write token whose value you saved, you can reuse it instead. Scopes are mutually exclusive In Rollbar, the `read` / `write` scopes cannot be combined with `post_server_item` or `post_client_item` in the same token. Selecting `post_server_item` disables `read` and `write`. Use a separate token for `post_server_item` (see the optional step below). ![Create a Rollbar Project Access Token with read and write scopes](/assets/rollbar-2.1ad33e52a12263df48b77b2c16300b8ca3b3c1d30912ceaf1909c0be9bcea3ad.1ce25488.png) #### Step 3: Get a Server Access Token for deploys (optional) Reporting deployments (the **Create Deploy** tool) requires a token with the **`post_server_item`** scope. On the same **Project Access Tokens** page, reuse a default `post_server_item` token or create a new one with that scope selected, then copy its value. You only need this if you want the integration to report deploys. #### Step 4: Get an Account Access Token (optional) Account-level tools — managing projects, teams, users, and invites — require an **Account Access Token**. Go to **Settings → Account Access Tokens**, then reuse or create a token with the **`read`** and **`write`** scopes and copy its value. You only need this if you want the integration to perform account-level actions. ![Rollbar Account Access Tokens page](/assets/rollbar-3.2b2891176e637227445d2e7b646f89e9776b64bf83cbd47bfa935a26edc095e5.1ce25488.png) ### Configure the Frontegg portal Once you have your token(s) from the steps above, enter them in the integration configuration page of the Frontegg portal: 1. Open the **Frontegg portal** and navigate to [ENVIRONMENT] → Integrations → Rollbar. 2. Paste your read/write token into the **Project Access Token** field (required). 3. Optionally, paste an **Account Access Token** to enable account-level tools (projects, teams, users, invites). 4. Optionally, paste a **Server Access Token** (with the `post_server_item` scope) to enable reporting deploys. 5. Click **Save**. Keep your tokens secure Treat access tokens like passwords. Never share them or commit them to version control. If a token is exposed, delete it in Rollbar and create a new one. Rate limits require a paid plan The **Update Access Token** tool configures per-token rate limits, which Rollbar gates to paid plans. On the free plan it returns `HTTP 422 — Upgrade account to configure rate limits`. All other tools work on the free plan. ### Additional resources - [Rollbar API documentation](https://docs.rollbar.com/reference/getting-started-1) - [Rollbar access tokens guide](https://docs.rollbar.com/docs/access-tokens) - [Rollbar developer portal](https://app.rollbar.com)