> For the complete documentation index, see [llms.txt](https://glyue.docs.sandboxbanking.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://glyue.docs.sandboxbanking.com/tutorials/building-an-event-driven-integration/1.-setting-up-the-mock-crm.md).

# 1. Setting up the Mock CRM

**Preparing the Integration for External HTTP API Access**

Integration Gateway integrations are exposed via their URL. We need to make two changes to our integration to prepare it for external calls. Start by navigating to the **Build page,** right-clicking on the integration, and selecting *Configure*.

1. Remove spaces from the integration's Path Name so it can be used in a URL.\
   Change `User Management (Tutorial)` to `user_management_tutorial`
2. Enable HTTP API access by checking the *Enable API Access* box.

<figure><img src="/files/OFjg0Ful95Xi9zOVJYn8" alt=""><figcaption><p>Modifying the integration for HTTP API access</p></figcaption></figure>

Click *Save*, then close the modal using the *X* in the top-right corner.

**Finding the Integration URL**

To get an integration's execution URL, right click on the integration and click *Run Integration.* The top of the **Integration Runner** shows the integration's URL. Copy the URL using the *Copy* button on the right side and save it.

<figure><img src="/files/2YjF2DGa1CJ0XH4orgqo" alt=""><figcaption><p>The URL of the integration</p></figcaption></figure>

**Setting up the Mock CRM**

Using the navigation bar, open *Frontends.* Click *Create* in the top right. Enter the following:

> Name: Mock CRM
>
> Path: mock-crm

Download this `.zip` file that contains the source code for a simple mock CRM:

{% file src="/files/QWxCVpUmnfJA4TJJwqZO" %}

Upload it to your Frontend by dragging the `.zip` file into the *Files* section on the right side.

<figure><img src="/files/ZYJw7WJMlKvsNw7TGM0F" alt=""><figcaption><p>Creating the Mock CRM using Frontends</p></figcaption></figure>

Save your frontend by clicking *Create*.

**Configuring the Mock CRM**

Open the mock CRM by clicking the *View* button. In the popup window, enter the integration URL you obtained in the previous step and click *Save Configuratio&#x6E;**.***

<figure><img src="/files/VLBCbcLIjzyGM59F7b7l" alt=""><figcaption><p>Enter the integration URL in the Mock CRM</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://glyue.docs.sandboxbanking.com/tutorials/building-an-event-driven-integration/1.-setting-up-the-mock-crm.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
