Skip to content

Commit

Permalink
feat: add prod page
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Sep 15, 2024
1 parent 457f1a5 commit 2b6dfca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'Advanced Configuration'
sidebarTitle: 'Advanced Configuration'
description: 'Learn how to configure the Inbox component with advanced options'
title: 'Going to production'
sidebarTitle: 'Going to production'
description: 'Learn how to prepare your inbox before going to production'
---


Expand Down Expand Up @@ -45,26 +45,3 @@ const hmacHash = createHmac('sha256', process.env.NOVU_SECRET_KEY)
If HMAC encryption is active in In-App provider settings and `subscriberHash`
along with `subscriberId` is not provided, then Inbox will not load
</Info>

## Backend SDK Methods

[Backend sdk methods](/sdks/framework/typescript/overview)

## Use your own backend and socket URL

By default, Novu's hosted services for API and socket are used. If you want, you can override them and configure your own.

```tsx
import { Inbox } from '@novu/react';

function Novu() {
return (
<Inbox
applicationIdentifier="YOUR_APPLICATION_IDENTIFIER"
subscriberId="YOUR_SUBSCRIBER_ID"
backendUrl="YOUR_BACKEND_URL"
socketUrl="YOUR_SOCKET_URL"
/>
);
}
```
2 changes: 1 addition & 1 deletion mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@
"inbox/react/components/preferences"
]
},
"inbox/react/production",
"inbox/react/multiple-tabs",
"inbox/react/localization",
"inbox/react/advanced-configuration",
"inbox/react/migration-guide"
]
},
Expand Down

0 comments on commit 2b6dfca

Please sign in to comment.