--- title: "Self-hosting the Members Portal" slug: "self-hosting-the-members-portal" updated: 2024-02-27T09:43:32Z published: 2024-02-27T09:43:32Z canonical: "help.nexudus.com/self-hosting-the-members-portal" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://help.nexudus.com/llms.txt > Use this file to discover all available pages before exploring further. # Self-hosting the Members Portal We usually recommend you customize your Members Portal using the code available in our built-in files, custom pages or by replacing and adding components. You can also choose to host the Members Portal through your own infrastructure. Self-hosting is a suitable option if you want to: - **Completely rewrite all pages of the Members Portal and apply radically different styles and layouts.** - **Use all or some of the portal features within your own marketing site or other platform features.** ## How the Members Portal is Built The Members Portal is built using [ReactJS](https://reactjs.org/) on top of [NextJS](https://nextjs.org/). It uses [MobX](https://mobx.js.org/README.html) as state management. ## What You Need to Self-host ### Node & Yarn You need to install [Node](https://nodejs.org/en/) (greater than 10.19.0) and [Yarn](https://classic.yarnpkg.com/en/). ### Your Members Portal Default Subdomain You'll also need your Members Portal default domain. You can find this domain via [Settings > Website](https://dashboard.nexudus.com/settings/2/0/0) on the Admin Panel. ![MembersPortalDefaultURL_Highlight.png](https://cdn.document360.io/4f9a66c7-3dbb-4052-97d8-5439302e1512/Images/Documentation/MembersPortalDefaultURL_Highlight.png) In the example above, **nexudustudio** is the default subdomain. Make sure you keep this subdomain handy for the configuration. ### Request Access to the Source Code You can download the most recent version of the portal using GIT. You'll need to accept the terms of the source code license available below and then reach out to [source@nexudus.com](http://mailto:source@nexudus.com) for us to provide access to the repository. [LICENSE (3).txt](https://cdn.document360.io/4f9a66c7-3dbb-4052-97d8-5439302e1512/Images/Documentation/LICENSE%20(3).txt) ## Editing the Configuration File Once you have downloaded the source code, you need to edit the configuration file to make sure the code uses your Nexudus account. Replace **env/config.js** with the snippet below, making sure you replace **demo** with your portal's default subdomain. ``` module.exports = { apiRoot: 'https://demo.spaces.nexudus.com', platformRoot:'https://spaces.nexudus.com', }; ``` Next, install all dependencies running yarn. This can take some time. ``` yarn ``` You should also install i18next-parser to produce the translation files during the build process. ``` yarn global add i18next-parser ``` Once yarn installed all packages, you can run the project: ``` yarn run dev ``` If you want to create a release version to publish in the **.next** folder, run: ``` yarn run build ```