N
Novu4mo ago
Grigoriy

Initial setup: account, organization on self-hosted Novu

Hello, we are trying to involve Novu to our micro-services infrastructure. How I can create user, organization automatically via scripts/APIs?
7 Replies
Ask Inkeep
Ask Inkeep4mo ago
Hi @Grigoriy, I'm an AI assistant for Novu. I'll analyze available sources and get back to you shortly. ----------------------------- While I generate an answer, here are some sources that might be helpful: * Introduction * Deploy with Docker * Commercial Self Host * Concepts ----------------------------- Answer In the current documentation available, there isn't a direct reference to creating users or organizations automatically via scripts or APIs for a self-hosted Novu setup. The primary documentation focuses on concepts like environments, handling notifications, and the technical setup of Novu, including deploying with Docker and configuring various aspects of the service (1) (2) . For managing organizations within Novu, it's mentioned that organizations serve as separate entities within your Novu account, each having its own integration store, workflows, subscribers, and API keys. The creation and management of these organizations are described from a UI perspective, where you can switch between organizations via a dropdown menu in the Novu application. However, the process for automating this through scripts or APIs isn't covered in the provided information (3) . If your requirement is to automate these tasks as part of your infrastructure setup, a typical approach with such systems is to look for REST API endpoints or SDK methods provided by the service. While the official documentation might not explicitly detail this for organization or user management, it's common for platforms to offer APIs for administrative tasks. Given the open-source nature of Novu, a deeper dive into the source code or reaching out to the community might reveal undocumented features or practices that could help in achieving your goal. Additionally, keeping an eye on the official documentation for updates or new features regarding automation and API access could also be beneficial. For now, I recommend exploring the Novu documentation and its GitHub repository for any scripts or API en
Ask Inkeep
Ask Inkeep4mo ago
dpoints that might not have been covered in the initial documentation. The documentation on deploying with Docker and the conceptual overview of Novu's architecture might provide insights into potential extension points for automation (1) (2) .
Tomer Barnea
Tomer Barnea4mo ago
@Grigoriy I am assuming this is for a multi-tenant/multi-orgnization setup? If so, take a look at this place, you can use organization (data is seperate) or tenant (can share data), the main account will be yours, is that helpful? https://docs.novu.co/api-reference/tenants/create-tenant https://docs.novu.co/api-reference/organizations/create-organization
Grigoriy
Grigoriy4mo ago
For both this actions I need API key. I didn't find a way to make an initial setup with pre-configured data. I've expected to have some already created service account and their organization.
Pawan Jain
Pawan Jain4mo ago
@Grigoriy Only way to take api key is signup and create organization from UI and do all actions using that api key
Grigoriy
Grigoriy4mo ago
Maybe do you now is it planed to make it automatically or manually without any UI interactions?
Pawan Jain
Pawan Jain4mo ago
@Grigoriy Sure, could you please help us in adding it in our's roadmap https://roadmap.novu.co/roadmap ?
Want results from more Discord servers?
Add your server
More Posts