Working with iModelHub

Working with iModelHub directly

iModelHub API is available in the @bentley/imodeljs-clients package. This package includes client APIs for various Bentley services.

The clients library contains TypeScript classes and other types that can be used by both frontends and backends . Any method that requires access to the file system will have to be run in the backend.

iModelHub API covers basic calls to iModelHub that are part of larger workflows. For any calls that require working with actual iModel files, you should use backend classes.

Before your start

Working through backend classes

Working through clients package

Last Updated: 13 June, 2024