This article describes how to add a data collections extension to your app using the app dashboard.
Add the extension by doing the following:
In the Custom Apps page, select an app.
In the left menu, select Develop > Extensions.
Click + Create Extension and find the Data Collections extension.
Click + Create.
On the Data Collections extension configuration page, use the JSON editor to configure your collections. For the complete JSON schema, see the Data Collections Extension JSON Reference. The editor's linter indicates if there are any errors in your JSON configuration. The JSON schema documentation is also available in the JSON editor.
Optionally, add initial data to populate the collections when they're created. To do this, include an initialData array in your configuration. Make sure the initial data you add is structured according to the schema you defined.
Click Save.
Your app now has a data collections extension. When your app is installed on a site, the collections are automatically created in the site's CMS with the schemas and initial data you specified.