import { Table } from "docs-ui" export const metadata = { title: `Local Notification Module Provider`, } # {metadata.title} The Local Notification Module Provider simulates sending a notification, but only logs the notification's details in the terminal. This is useful for development. --- ## Register the Local Notification Module The Local Notification Module Provider is registered by default in your application. It's configured to run on the `feed` channel. Add the module into the `providers` array of the Notification Module: Only one provider can be defined for a channel. ```ts title="medusa-config.ts" import { Modules } from "@medusajs/framework/utils" // ... module.exports = defineConfig({ // ... modules: [ { resolve: "@medusajs/medusa/notification", options: { providers: [ // ... { resolve: "@medusajs/medusa/notification-local", id: "local", options: { channels: ["email"], }, }, ], }, }, ], }) ``` ### Local Notification Module Options Option Description `channels` The channels this notification module is used to send notifications for. While the local notification module doesn't actually send the notification, it's important to specify its channels to make sure it's used when a notification for that channel is created.