Prerequisites
Before you begin, ensure you have:- A Papermap account with workspace access
- Connected data sources with tenant-identifiable tables
- Administrative permissions in your workspace
Configuration Steps
Step 1: Access Workspace Settings
Log in to Papermap
Navigate to papermap.ai and sign in with your credentials.


Step 2: Select Your Tenant Table
The tenant table is the core table that identifies and separates your different tenants. This could be acustomers, organizations, or users table - depending on your data model.
View available tables
In the Multi-Tenant configuration page, you’ll see a list of available tables from your connected data sources.
Choose your tenant table
Find the table you want to use as your tenant identifier (e.g.,
customers, organizations, users).
In this example, we’re using the
organization table as our tenant identifier.Step 3: Understanding Table Categories
You will be redirected to the Tenant Table Configuration page. This page allows you to control which tables each tenant can access.
Table Categories Explained
Direct Tables
Direct Tables
Tables that are directly related to the tenant table (contain a foreign key to the tenant table).Examples:
- Tables with
customer_id,tenant_id, ororganization_idcolumns - User accounts, orders, transactions
Indirect Tables
Indirect Tables
Tables related to the tenant through other tables (connected through join relationships).Examples:
order_itemstable (ifordersis a direct table)- Nested relationships through multiple joins
Shared Tables
Shared Tables
Excluded Tables
Excluded Tables
Tables that should not be accessible to any tenant users.Examples:
- Internal admin tables
- Audit logs
- System metadata
- Billing information
Step 4: Organize Your Tables
Now organize your tables into the appropriate categories based on your security and data isolation requirements.Review table categories
Examine which tables Papermap has automatically categorized based on foreign key relationships.
Move tables as needed
Drag and drop tables to different categories, or use the move/assign options in the interface.
Secure sensitive data
Move any tables you don’t want tenants to access to the Excluded Tables section.

In this example, all tables are in the
Direct Tables category.Step 5: Create API Keys
After organizing your tables, create API keys for tenant access.
Step 6: Complete Configuration
Your multi-tenancy setup is now complete!What Happens Next?
Once configured, your multi-tenant environment will operate as follows:Data Isolation
Each tenant only sees data from Direct and Indirect tables that belong to them.
Shared Access
Shared tables remain accessible to all tenants for common reference data.
Security
Excluded tables are completely hidden from tenant users.
Automatic Filtering
Queries are automatically scoped to the tenant context.
Next Steps
Backend Implementation
Implement secure tenant dashboard management with HMAC authentication
Tenant Management
Learn how to manage tenant lifecycles and operations
Troubleshooting Setup
Can't find my tenant table
Can't find my tenant table
- Ensure your data source is properly connected
- Verify the table exists and has the expected schema
- Check that you have read permissions on the table
Tables not categorizing correctly
Tables not categorizing correctly
- Verify foreign key relationships in your database
- Manually move tables to the correct categories
- Check table relationships in your data source
API key generation failed
API key generation failed
- Ensure you have administrative permissions
- Check that you saved the tenant table configuration first
- Try refreshing the page and generating again

