How to Set Up and Use NocoDB on Oikos OpenHub: Open-Source Airtable Alternative

NocoDB is a powerful open-source database platform designed to provide a rich, collaborative spreadsheet interface over any standard relational database (MySQL, PostgreSQL, MariaDB, SQLite, etc.). Functioning as a high-performance Airtable alternative, it empowers teams to manage, visualize, and build applications around their data without writing complex SQL or traditional backend code.

Deploying NocoDB via the Oikos OpenHub Platform-as-a-Service (PaaS) provides an optimized, dedicated, and secure environment. Oikos manages the container hosting and persistence, enabling you to launch this sophisticated no-code tool quickly and focus immediately on data management and visualization.


1. Accessing the Oikos OpenHub Catalog#

Access the Oikos Console#

  • Visit: Navigate to the Oikos platform launchpad at https://launch.nife.io.
  • Log In: Use your registered Oikos credentials to access the primary application dashboard.

Navigate to OpenHub#

  • Locate: Find the OpenHub option in the left-hand navigation sidebar.
  • Selection: Click OpenHub to view the comprehensive catalog of deployable open-source applications.

Search for NocoDB#

  • Search Bar: Utilize the search functionality within the OpenHub interface and enter the term NocoDB.
  • Identify: Locate the NocoDB application card, pre-configured for deployment on the Oikos PaaS.

2. Configuring and Initiating Deployment#

NocoDB requires defining the initial database it will use for its own metadata, workspaces, and user accounts.

Start Deployment and Configuration Review#

  • Action: Hover over the NocoDB tile and click the Deploy button. This transitions you to the configuration screen.

Review Deployment Settings#

  • App Name: Assign a unique name to your data management instance (e.g., nocodb-data-platform).
  • Cloud Region: Select a Cloud Region that minimizes latency, especially if you plan to connect to external databases or have many concurrent collaborators.
  • Resource Allocation: Review the default CPU and RAM. Allocate sufficient resources, as NocoDB may handle large datasets and multiple API requests.

Environment Variables (Crucial): NocoDB typically requires an environment variable to define its internal metadata database connection (NC_DB). Oikos usually handles this by launching a dedicated internal database (like SQLite or PostgreSQL) or asking you to provide the connection string for a managed service. Ensure this variable is correctly set for persistence and stability.

  • Finalization: Review all settings, confirm persistence is configured, and click Submit or the final Deploy button to commence the container launch process.

Monitor Deployment Status#

  • Process: Oikos provisions resources, pulls the NocoDB container image, initializes the internal database, and establishes a secure HTTPS network endpoint.
  • Completion: Wait for the status indicator to change to Running.

3. Accessing and Initializing NocoDB#

Wait for Completion and Launch#

  • Action: Once the status is Running, click the Open App button.
  • Result: This redirects you to the unique, secure URL of your deployed NocoDB interface.

Initial Setup and Admin Creation#

  • First Access: NocoDB will prompt you to create the initial Admin account (email and password). This user manages the workspace and access control for the entire platform.

4. Key Usage and Data Management Features#

Once logged in, NocoDB allows you to manage data by either creating a new database base or connecting to an existing external database.

4.1. Connecting to an External Database (Key Use Case)#

  • Action: Click New Project โ†’ Connect Database.
  • Configuration: Provide the connection details (Host, Username, Password, Database Name) for your target relational database (e.g., PostgreSQL, MySQL, MSSQL).
  • Result: NocoDB instantly maps your existing database tables into the spreadsheet interface. Any change made in the NocoDB spreadsheet is reflected in the live database, providing a powerful GUI for database administration.

4.2. Creating a New Base#

  • Action: Click New Project โ†’ Create New Base.
  • Design: Start by defining new tables. NocoDB tables support a wide array of field types (Text, Rich Text, Collaborator, Attachments, Formulas, Lookups) and allow you to define relational links (foreign keys) between tables directly in the UI.

4.3. Data Collaboration and Views#

  • Real-time Collaboration: Invite team members to the workspace and assign fine-grained roles (Admin, Creator, Editor, Viewer). Changes sync instantly.
  • Visualization: Beyond the default Grid (spreadsheet) view, switch to Kanban, Gallery, Calendar, or Form views to visualize data based on project needs (e.g., using a Kanban view for tasks based on status columns).

4.4. Auto-Generated APIs (For Development)#

  • Access: Navigate to the API Docs section within your project.
  • Functionality: NocoDB automatically generates production-ready REST and GraphQL APIs for every table. These APIs simplify application development by allowing direct interaction with your data without needing to build a custom backend service.

Core Benefits of Deploying NocoDB on Oikos#

1. Unified Database GUI and API Generation#

NocoDB provides an exceptional interface for database management and instantly generates powerful APIs. Oikos ensures this service is stable, available, and secured with HTTPS, making it a perfect tool for rapid application development (RAD).

2. Full Data Control (Self-Hosted)#

By deploying NocoDB on Oikos, you maintain complete sovereignty over your database connection strings and the data itself, which is crucial for sensitive or proprietary information.

3. Scalable and Persistent#

Oikos manages the container lifecycle and persistent storage for NocoDB's metadata. This means your workspaces, user accounts, and configurations are safe, while the connection to your potentially high-volume external database remains reliable.

4. Minimal Infrastructure Management#

The PaaS environment eliminates the need for manual server setup, dependency management (Node.js/NPM), and web server configuration, letting teams jump straight into data organization and application building.


Official Documentation#

For detailed information on configuring external databases, advanced view types, and API usage:

NocoDB Documentation: https://nocodb.com/docs/product-docs