# Step 3: Configure event subscription

The message received by the server will be sent to the server for processing through a POST request in the form of a callback event request. After the local service is started, callback events cannot be requested on the intranet, and a public network request URL needs to be configured.

## Procedurewarning
For the convenience of implementation, this tutorial uses the reverse proxy tool [localtunnel](https://www.npmjs.com/package/localtunnel) to complete intranet penetration and expose the public network access entrance of the local service. **This tool is only suitable for the development and testing stage, and cannot be used in the production environment. Before using it. Please confirm whether it complies with the network security policy of your company**.

1. Run the following command to get the public URL.

```PowerShell
npx localtunnel --port 3001
```

The result of successful operation is as follows:

![](https://sf3-cn.feishucdn.com/obj/open-platform-opendoc/838e830b6b39497060a38a3bcd5e4574_KOZShFR5fo.png?height=174&lazyload=true&maxWidth=600&width=1088)

2. Enter the **Events & Callbacks** page on the left side of the application details page.
3. In the **Event Configuration** tab, click the edit icon on the right side of **Mode of event subscription**.
4. Select **Send notifications to developer's server**, and fill in the public domain name generated using the proxy tool + `/webhook/event` in the **Request URL** output box.
Saving the request URL and sending the event message to the server will request the back-end service. **The service must be in the started state during the request**.

![](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/82e5e377f031b8748d927296a7f50071_mX3BmjVGno.png?height=994&lazyload=true&maxWidth=600&width=1800)

3. Click **Add Events** in the **Events added** area, search and add the **Member's account is created** and **Member's account is terminated** events.
Monitoring events also requires the application to grant corresponding permissions. In this tutorial, in order to receive **Member's account is created** and **Member's account is terminated** events, you need to activate the **Get basic information in contacts** permission (for the convenience of demonstration, this tutorial has been activated in step one) required permissions).

![](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/5f9b7b6bd776b5b59185b6ebc94c7f86_AGIy1IJLUh.png?height=1082&lazyload=true&maxWidth=600&width=2232)