RahalCorporate
CompaniesAdmin Guide

Creating Companies

How to create a new company in Rahal

Creating Companies

This guide walks you through creating a new company in Rahal.

Access Requirements

You need Platform Administrator access to create new companies. Company administrators can only manage their own company.

Creating a Company

From the dashboard sidebar, click Companies to view the companies list.

Open Create Form

Click the Create Company button in the top right corner. A drawer will slide in from the right.

Enter Basic Information

Fill in the required fields in the Basic Info tab:

Create company drawer showing Basic Info fields

FieldRequiredDescription
Company NameYesDisplay name for the company
SlugYesURL-friendly identifier (auto-generated)
Verified DomainsYesComma-separated email domains
Allow Auto SignupYesEnable/disable automatic user activation
ActiveYesCompany active status

Configure Booking Engine (Optional)

Switch to the Booking Engine tab if you need custom travel supplier integration:

Booking Engine tab with OAuth configuration fields

FieldDescription
Client IDOAuth client identifier
Client SecretOAuth client secret
OAuth ScopesSpace-separated scope list
Base URLBooking engine API URL
Token URLOAuth token endpoint

Save the Company

Click Create Company to save. The company is now active and ready for users.

Form Field Details

Company Name

The display name shown throughout the platform:

  • Maximum 200 characters
  • Can contain any characters
  • Should be the official company name

Examples:

  • Acme Corporation
  • Global Travel Inc.
  • أكمي للسفر

Slug

A URL-friendly identifier used in URLs and API references:

  • Maximum 100 characters
  • Lowercase letters, numbers, and hyphens only
  • Must be unique across all companies
  • Auto-generated from company name, but customizable

Examples:

  • acme-corporation
  • global-travel
  • acme-travel

The slug is auto-generated when you type the company name. You can override it if needed.

Verified Domains

Email domains that belong to this company:

  • Enter as comma-separated list
  • No @ symbol needed
  • Case-insensitive matching

Examples:

  • acme.com
  • acme.com, acme.net, acme.co.uk

Allow Auto Signup

Controls whether new users are immediately activated:

SettingBehavior
EnabledUsers with verified domain emails are immediately active
DisabledUsers are created but require admin activation

Active Status

Controls whether the company is operational:

StatusEffect
ActiveCompany is fully operational
InactiveAll users blocked from access

What Happens After Creation

When you create a company:

  1. Predefined Roles Created — Three roles are automatically created:

    • Member (basic booking)
    • Manager (team oversight)
    • Admin (full access)
  2. Company Ready for Users — Users can now:

    • Self-register with verified domain emails
    • Be created manually by administrators
  3. Policies and Budgets — The company has no policies or budgets yet. Create these separately.

Troubleshooting

Slug Already Exists

If you see a "slug already exists" error:

  1. Choose a different slug value
  2. Add a suffix (e.g., acme-corp instead of acme)
  3. Check if the company already exists under a different name

Invalid Domain Format

If domain validation fails:

  1. Remove the @ symbol (use acme.com not @acme.com)
  2. Separate multiple domains with commas
  3. Ensure there are no spaces in domain names

Missing Required Fields

All fields marked with a red asterisk (*) are required:

  • Company Name
  • Slug
  • Verified Domains

On this page