# Accessing PageBuilder in Local Results in "Source Code Error"

Source: https://docs.arcxp.com/en/knowledge-articles/pagebuilder-engine/accessing-pagebuilder-in-local-results-in--source-code-error-.html

## Symptoms

- When running Arc XP locally in docker, accessing <http://localhost/pagebuilder/pages> results in an error message: `Source Code Error: An Error Has Occurred in Site Service Configurations`
- Clicking on Create Page results in the same error.
![pbeng_source_code_error_site_service_configs.png](https://docs.arcxp.com/images/learning-center/image/img-be02c3262c4f61c062f4af84bb65b2a1.png) 

## Cause

This error occurs when `CONTENT_BASE` and `ARC_ACCESS_TOKEN` have not been configured in .env, located in the bundle root.

## Solution

1. In the bundle root, open .env in a text editor.
2. Uncomment the lines for `CONTENT_BASE` and `ARC_ACCESS_TOKEN`
3. Configure `CONTENT_BASE` to the URL for your Arc environment to provide the source for content in your local environment, for example, `https://{your-environment}.arcpublishing.com/`
4. Configure `ARC_ACCESS_TOKEN` with an Access token created from Developer Center in the same environment configured in `CONTENT_BASE`
5. Save the .env and restart fusion.

## More Information

| • [How to Use Developer Access Tokens to Access the Arc XP APIs](https://dev.arcxp.com/api/accessing-arcxp-apis/)• [How To Run PageBuilder Engine Locally](https://dev.arcxp.com/pagebuilder-engine/how-to-guides/basics/how-to-run-pagebuilder-engine-locally/) |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
