You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Ensure you've been granted access to the [Benchling Developer Platform Capability](https://help.benchling.com/hc/en-us/articles/9714802977805-Access-the-Benchling-Developer-Platform).
82
82
3. This example also requires a [Lab Automation](https://www.benchling.com/resources/benchling-lab-automation) license.
83
83
4.[Molecule entities](https://help.benchling.com/hc/en-us/articles/9684254682893-Molecule-entity-overview) will need to be enabled on your tenant.
84
+
5.[Global Apps](https://docs.benchling.com/docs/global-apps-faq) will need to be enabled on your tenant.
84
85
85
86
### Upload the App Manifest
86
87
@@ -158,15 +159,34 @@ Open it in an editor of your choice and set the values with the plaintext client
158
159
for your App. For example:
159
160
160
161
```
161
-
CLIENT_ID=42a0cd39-0543-4dd2-af02-a866c97f0c4d
162
+
CLIENT_ID=Ts7jtwPohM
162
163
```
163
164
165
+
### Setting App Definition ID
166
+
167
+
The App definition ID is available from the Developer Console by selecting the App to view.
> ℹ️ **Note:** If you do NOT see this ID, please ensure [Global Apps](https://docs.benchling.com/docs/global-apps-faq) are enabled for your tenant.
172
+
173
+
Add it to your `.env` file with a variable name `APP_DEFINITION_ID`. The contents of your `.env` file should now look something like:
174
+
175
+
```
176
+
CLIENT_ID=Ts7jtwPohM
177
+
APP_DEFINITION_ID=appdef_Trow4zbR3o
178
+
```
179
+
180
+
### Restarting the Container to Reflect Environment Changes
181
+
164
182
Restart the `benchling-app` Docker container to pick up the environment changes.
165
183
166
184
```bash
167
185
docker-compose up -d
168
186
```
169
187
188
+
### Security Note: Storing App Secrets in Production
189
+
170
190
> ⚠️ **Security Note:** In production, store the secret with a secure solution such as a secrets store (AWS Secrets Manager, as an example) or, if storing programmatically, encrypted using app-layer encryption. Avoid placing it in plaintext anywhere in code or configuration.
0 commit comments