...
Connect to https://print.carbon3d.com/ and login to obtain your secret.json. The secret file should look like this:
Code Block | ||
---|---|---|
| ||
{ "client_id": "CLIENT_ID", "client_secret": "RSA_PRIVATE_KEY" } |
...
Configuration | Data | Description | Required |
---|---|---|---|
|
| The machine's interface type. | ✓ |
|
| Carbon3D api base url. | ✓ |
|
| The custom machine name to be displayed in the Agile MES. Will be read from the machine if unset. | ✗ |
|
| The serial number of the machine. | ✓ |
|
| Secrets for JWT authentication as provided by Carbon3D. For instructions visit Carbon3Dfiles, the path can be absolute or relative to the Aggregator. | ✓ |
|
| The MES instance(s) of your organization. | ✓ |
...
Code Block | ||
---|---|---|
| ||
{ "type": "CARBON3D", "url": "https://api.carbon3d.com", "custom_name": "my_carbon3d_machine", "unique_name": "3P01CM", "authentication_file_path": "./secret.json", // contents as shown above "mes_id": [ 1 ] } |
OR
Code Block | ||
---|---|---|
| ||
{ "type": "CARBON3D", "url": "https://api.carbon3d.com", "custom_name": "my_carbon3d_machine", "unique_name": "3P01CM", "authentication_file_path": { "client_id": "CLIENT_ID", "client_secret": "RSA_PRIVATE_KEY" }, "mes_id": [ 1 ] } |
Secret example:
Add the secret file name to the field authentication_file_path
in your config.json
.
Info |
---|
Starting from version 1.4, you can also inline the contents of your secret file in the in the authentication_file_path field |
Aggregator version 1.2 - 1.3
...
Code Block | ||
---|---|---|
| ||
{ "type": "CARBON3D", "url": "https://api.carbon3d.com", "custom_name": "my_carbon3d_machine", "unique_name": "3P01CM", "authentication_file_path": "./secret.json", "mes_id": [ 1 ] } |
Secret example:
Add the secret file name to the field authentication_file_path
in your config.json
.
...
Code Block | ||
---|---|---|
| ||
{ "type": "CARBON3D", "url": "https://api.carbon3d.com", "custom_name": "carb3d", "unique_name": "3P01CM", "path_to_secret": "/absolute/path/to/secret.json", "mes_id": [ 1 ] } |
Secret example:
Add the secret file name to the field path_to_secret
in your config.json
.
...