1
Install and configure the Cognite Toolkit
Install and configure the Cognite Toolkit.
2
Allowlist necessary URLs on your firewall
Make sure that you have allowlisted the necessary URLs on your firewall.
3
Enable sign-in to InField
If necessary, contact Cognite Support to enable sign-in to InField.
4
Collect identity provider group IDs
Collect the IDs for the identity provider (IdP) groups that you will use to control access to InField.
5
Configure IdP group IDs
In config.<env>.yaml, replace the See InField groups for an overview of the groups that will be created in CDF.
<change_me> values with the IdP group IDs you collected, to use them as source_ids for the relevant CDF groups:6
Deploy the InField package
Configure, build, and deploy the
cdf_demo_infield package or the cdf_infield package (no sample data) as described in Configure, build, and deploy CDF modules.InField groups
The group names are suggestions only. Each group in the identity provider is bound to a corresponding group in CDF by setting thesourceId parameter of the CDF group to the group ID in the identity provider.
| Group | Purpose |
|---|---|
cdf_tk_<dev>_readwrite_all | Programmatic access to provision and update services in the <dev> environment. Necessary for running the toolkit. |
cdf_tk_<dev>_readonly_all | Programmatic access to list or read services in the dev environment. Useful for manually inspecting toolkit runs in the CDF user interface. |
| Per location: | |
infield_<dev>_application_configuration | Users who can view the InField configuration in the built-in user interface across all locations in dev. |
infield_<dev>_<location>_checklist_admins | Admin users for checklists in location <location> in environment <dev>. |
infield_<dev>_<location>_normal_users | Regular users for checklists in location <location> in environment <dev>. |
infield_<dev>_<location>_template_admins | Admin users for templates in location <location> in environment <dev>. |
infield_<dev>_<location>_viewers | Users who can view, but not change, checklists in location <location> in environment <dev>. |
Locations are typically used to distinguish between different sites, plants, geographical locations, or systems.
Moving from Open Industrial Data (OID) to your own data
If you have used thecdf_demo_infield package to deploy the default InField setup with sample data from Open Industrial Data (OID), you can modify the configuration to use your organization’s data instead. Use one of these methods:
- Copy the
cdf_oid_example_datamodule fromcognite_modulestocustom_modules, rename it (remove the _cdf__ prefix). Then, update the configuration to use your .csv files, engineering diagrams, etc., before you deploy.
- Set up an extraction pipeline for each data type to feed live data into CDF. You can find an example pipeline in the examples/cdf_data_pipeline_asset_valhall module.