Skip to content
@configit-sdk

Configit SDK

Sample code and libraries that help you build applications and integrations using the public APIs in Configit Ace.

Welcome to the Configit SDK 👋

Welcome to the Configit SDK, home of libraries and sample code for Configit partners.

Getting access: The Configit SDK repositories and NuGet/npm packages are private.
To request access, mail [email protected].

Docker container images

Ace Platform is available as a Docker container image at ghcr.io/configit-sdk/ace-platform.

Libraries

Ace offers several libraries for developing software that integrates with an Ace solution. Here are some use cases to guide you:

Creating packages

Note

This library has Limited Availability.

Use the Ace Package Builder for .NET to construct packages that can be published to Ace Platform.

Note that this is a lower-level API that uses concepts such as variables and values compared to higher-level Ace Model concepts like families and features.

Reading/writing Ace Model data

If you need to read or write Model data such as product models, features, and families, choose from these libraries:

Building a configurator

Choose from the below libraries to develop configurator applications. Though the configurator client names are similar, they differ in API coverage as described in Accessing a specific web API.

Important

Prior to installing npm packages, you must set up access.

  • Ace Platform Client for TypeScript — For building interactive web configurators in TypeScript. The client consists of two npm packages:

  • Ace Platform Client for .NET — For building configurators in C#/.NET.

  • Ace Platform Offline Client for .NET — For building configurators in C#/.NET that work offline. The other clients require continuous access to Ace Platform.

Accessing a specific web API

Ace client libraries are the recommended way for interacting with the Ace web APIs. The table below shows the web APIs supported by each client:

Ace Model Client (.NET) Ace Platform Client (TypeScript) Ace Platform Client (.NET) Ace Platform Offline Client (.NET)
Model API ☑️
Packages API ☑️ ☑️
Configuration API ☑️ ☑️ ☑️
Solution Space API ☑️
Analyze API ☑️ ☑️
BOM API ☑️ ☑️

Setting up access to npm packages

To get access to the configit-sdk npm packages, set up your environment as follows.

Step 1 — Generate a GitHub Personal Access Token

  1. Go to your GitHub account settings.
  2. Navigate to "Developer settings" > "Personal access tokens".
  3. Generate a new token with the permissions repo and read:packages.

Step 2 - Configure npm to use your GitHub token

From the command line, run:

npm login --scope=@configit-sdk --registry=https://npm.pkg.github.com --always-auth

When prompted, enter your GitHub username, the personal access token as your password, and your GitHub email.

This results in changes to your default .npmrc file. To verify the changes, check that your .npmrc file contains:

@configit-sdk:always-auth = true
@configit-sdk:registry = "https://npm.pkg.github.com/"
//npm.pkg.github.com/:_authToken=YOUR_PERSONAL_ACCESS_TOKEN

Popular repositories Loading

  1. .github .github Public

    1

  2. ace-unity-integration ace-unity-integration Public

    Configit Ace Unity package

Repositories

Showing 2 of 2 repositories
  • .github Public
    configit-sdk/.github’s past year of commit activity
    0 1 0 0 Updated Jul 26, 2024
  • ace-unity-integration Public

    Configit Ace Unity package

    configit-sdk/ace-unity-integration’s past year of commit activity
    0 MIT 0 0 0 Updated Aug 31, 2023

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…