---
title: Developing custom notification gateways
related:
  - https://docs.kentico.com/k9/managing-website-content/configuring-the-environment-for-content-editors/setting-up-content-notifications.md
  - https://docs.kentico.com/k9/managing-website-content/configuring-the-environment-for-content-editors/setting-up-content-notifications/allowing-users-to-subscribe-to-content-change-notifications.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

This chapter describes how to create a custom notification gateway and use it on your site. The procedure is outlined using code examples representing a sample e-mail notification gateway.

**General steps**

To implement a custom notification gateway, proceed according to the following steps:

1. [Create a custom notification gateway form](https://docs.kentico.com/k9/custom-development/miscellaneous-custom-development-tasks/notifications-api/developing-custom-notification-gateways/creating-custom-notification-gateway-forms.md) with custom inner controls for entering the target where the notification messages are sent.
2. [Create a custom notification gateway class](https://docs.kentico.com/k9/custom-development/miscellaneous-custom-development-tasks/notifications-api/developing-custom-notification-gateways/creating-custom-notification-gateway-classes.md) which handles the loading of the appropriate notification gateway form and sending of notification messages.
3. [Register the custom notification gateway](https://docs.kentico.com/k9/custom-development/miscellaneous-custom-development-tasks/notifications-api/developing-custom-notification-gateways/registering-custom-notification-gateways.md)in the **Notifications** application and create a template for notification messages.
4. Use the gateway with the **Content subscription** web part (you can find an example in [Allowing users to subscribe to content change notifications](https://docs.kentico.com/k9/managing-website-content/configuring-the-environment-for-content-editors/setting-up-content-notifications/allowing-users-to-subscribe-to-content-change-notifications.md)).
