Quick summary
This tutorial shows how to add a Company data type in Bubble.io by creating a new database, defining custom fields, building a UI input, and configuring a workflow to save Company records. Following these steps gives you a fully functional no-code data model with a linked User relationship and a live Create Company button.
Steps
- Go to the Data tab in the Bubble editor.
- Enter a name for your new data type.
- Click Create to initiate your database creation.
- Click Create new field to add a field to your new database.
- Enter the field name and select the field type for your data.
- Click Create to confirm your text field creation.
- Navigate to the User data type.
- Click Create new field to add a Company relationship to the User type.
- Define the Company field properties in the field editor.
- Connect the field to the Company data type.
- Review your Company field configuration to confirm it is correct.
- Go to the Design tab, drag in an Input element, and rename it as Company name.
- Add a button and label it Create Company.
- Click Edit workflow on the button.
- Click the add icon to add data actions to the workflow.
- Select the Data section from the actions menu.
- Select Create a new thing as the action type.
- Click the dropdown arrow to expand the action settings.
- Choose Company as the data type to create.
- Start defining Company field values by clicking Set another field.
- Assign a value to your Company record.
- Set the Name field for your Company record.
- Click Deploy to publish your app and make it live.



