CommunityHire an ExpertSign Up
How to GuidesHow to Make Pages/Blocks Accessible Only to Company Users?
How to Guides

How to Make Pages/Blocks Accessible Only to Company Users?

Create a gated are for your company employees.

Very often you need to make certain areas of your website or web app accessible only by internal users such as your employees. So, let’s see how that can be achieved.

Defining a Visibility Condition for a Block/Page

To restrict a specific block or page to a certain group of users, you need to set block or page visibility. Let’s say you want to make a certain page available to your company users only. To do that, you need to change the visibility to Logged in users in Page Settings.

Switch visibility to logged in users

Switch visibility to logged in users

Further on, you need to create a user group that includes only to the users with a given email domain (e.g. your company domain).

Creating a user group

Creating a user group

Further on, you need to select the created user group under your page’s visibility settings as shown below.

Adding a user group to a page

Adding a user group to a page

That’s it. Now only the users with the specified email domain who log into your site will see the page. If you need to cover multiple domains you can just add multiple conditions for different domains or just use the Logged in User’s Email and list all the email addressed individually.

Let’s move forward and see how you can configure the login process and manage your users.

Enabling User Login

Even if you don’t have a public sign in/sign up option, you can set up a login page without the option to register and add your users manually. You can disable signup by switching off the Sign Up toggle from the Signin block settings.

“Show Signup” toggle

“Show Signup” toggle

In the next section, we’ll discuss user management aspects.

User Management

So, if you’ve enabled sign in as we discussed in the previous section, you can now manually add your internal users from the Users tab. Use the “Add User” button to add the users using their email address and setting a password for them, so that they can login the first time and change it later (don’t forget to notify them about it).

Conclusion

After completing the above-mentioned steps, you’ll have a page that is only accessible by users with the specified email domain. Obviously, the same can include as many pages or blocks within your Softr app as needed.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.