Skip to main content
Sisense Community logo
  • Community Feedback
  • Chapters
  • Events
  • Forums
    • Help and How To
    • Product Feedback Forum
    • Strategy & Use Cases
  • Blogs
  • KB Docs
    • KB Docs
    • Add-Ons & Plug-Ins
    • APIs
    • Best Practices
    • Blox
    • CDT
    • Cloud Managed Service
    • Data Models
    • Data Sources
    • Embedding Analytics
    • How-Tos & FAQs
    • Onboarding
    • PySisense
    • Security
    • Sisense Administration
    • Sisense Intelligence & AI
    • Troubleshooting
    • Widget & Dashboard Scripts
  • Support
  • Learning
    • Sisense Academy: Free Courses and Certifications
    • Official Developer Documentation
    • Official Product Documentation
    • Official Sisense Youtube Channel
    • Sisense Compose SDK Playground
  • Use Case Gallery
All PostsDiscussionsBlogsIdeasQuestions
Leaderboards
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
Discussions
  • TagsChevronRightIcon
Multitenancy
  • Idea
    • Product Feedback ForumChevronRightIcon
    Support Changing First Day of Week in Live Models
                             
    aleszczewicz
    aleszczewiczPosted 9 months ago
             
    0
             
  • Discussion
    Tim von Ahsen
    • Help and How-To
             
    Tim von Ahsen
    Route tenants to different servers
             

    Scenario:   I have a domain mydomain.com. I have several Sisense tenants. (So, users access Sisense at mydomain.com/tenant1, mydomain.com/tenant2, and mydomain.com/tenant3.) Challenge: I want tenant1 and tenant2 to be hosted on a Sisense server in CountryA, and tenant3 to be hosted on a Sisense server in CountryB. I found three viable solutions.   Solution 1: Different domain: Change my url to be countrya.mydomain.com and countryb.mydomain.com.   Solution 2: Proxy: In Sisense config, set a proxy. "https://mydomain.com/countrya/" on the CountryA system tenant and "https://mydomain.com/countryb/" on the CountryB system tenant. In mydomain.com's routing configuration, set rules routing /countrya/* to CountryA's server and /countryb/* to CountryB's server.   Solution 3: Cookie: Three steps: 3.1. In mydomain.com's routing configuration, route mydomain.com/tenant1 to server A, route mydomain.com/tenant2 to server A, and route mydomain.com/tenant3 to server B.  3.2. Make a file MyPlugin.js with the line document.cookie = "MyCookieName=CountryA; path=/; max-age=86400". Deploy per the Sisense plugin instructions.  3.3. In mydomain.com's routing configuration, set rules for "If MyCookieName=CountryA, route to the server A. If MyCookieName=CountryB, route to server B." Explanation of Solution 3: If you do just step 3.1 without 3.2 and 3.3, the user will be able to open mydomain.com/tenant1 and log in. But many Sisense features cause the user's browser to make requests to the system tenant mydomain.com. Those fail because your routing configuration doesn't know which server to send mydomain.com to. To solve that, when the user opens mydomain.com/tenant1, we give them the cookie stating which server to use, and then we check that cookie when they later make requests against the system tenant.

    1 year agolast reply 1 year ago
    3
             
  • Idea
    • Product Feedback ForumChevronRightIcon
    Proxy requires full URL if using multi-tenancy
             
    Tim von Ahsen
    Tim von AhsenPosted 1 year ago
             
    0
             
  • Idea
    • Product Feedback ForumChevronRightIcon
    Separate proxy per tenant
             
    Tim von Ahsen
    Tim von AhsenPosted 1 year ago
             
    0
             
  • Idea
    • Product Feedback ForumChevronRightIcon
    Multi-server multi-tenant
             
    Tim von Ahsen
    Tim von AhsenPosted 1 year ago
             
    0
             
  • Question
    • Help and How-ToChevronRightIcon
                     
    Multi-Tenant and Proxy don't work together
    Tim von Ahsen
    Tim von Ahsen
    Posted 1 year ago • Last reply 1 year ago
    3
             
  • Idea
    • Product Feedback ForumChevronRightIcon
    Multitenantcy are very unusable
                     
    soporteparaptx
    soporteparaptxPosted 1 year ago
             
    0
             
  • Idea
    • Product Feedback ForumChevronRightIcon
    Feature to export all datamodels from UI
                                     
    sumana
    sumanaPosted 3 years ago • Last reply 1 year ago
             
    3
             
  • Idea
    • Product Feedback ForumChevronRightIcon
    Having access to ReportManager on a multi tenant environnement
                     
    fschleich
    fschleichPosted 2 years ago • Last reply 1 year ago
             
    6
             
  • Idea
    • Product Feedback ForumChevronRightIcon
    Alternate authentication method for different tenants
                                     
    m3ac-johnsonb
    m3ac-johnsonbPosted 1 year ago • Last reply 1 year ago
             
    2