Overview
Use this example to create a custom database entity in Gtmhub. The entity holds data for the monthly sales and has three fields - Sales opportunities, Status of deal, and Revenue.
Procedure
Perform the following:
In the navigation pane, expand Insights and click Data sources.
In the toolbar, expand Add new data source and click Create custom entity.
In Title, enter Monthly sale opportunities
In Name, enter sales_monthly
In Description, enter List of sales opportunities with their revenue
In the Fields section, in the first field, enter sale
In the second field, enter Sales opportunities
In the dropdown box, select String.
Click + Add field.
In the first field, enter sale_stage
In the second field, enter Status of deal
In the third field, select String.
Click + Add field.
In the first field, enter sale_rev
In the second field, enter Revenue
In the third field, select Integer.
Delete the index.
Click Create custom entity.
Refresh the Data sources page.
Result
The new entity appears under Not connected entities.
Next steps
After you have created the entity, you populate its field with data.
Perform procedure Example: Map a custom entity to a data source.