@@ -38,32 +38,15 @@ OPENAI_API_KEY=your_api_key_here
3838
3939### 3. Configure Account IDs
4040
41- Update the account IDs in [ ` constants.ts ` ] ( ./constants.ts ) with your actual integration account IDs :
41+ Each example includes a placeholder account ID that you need to replace with your actual StackOne account ID :
4242
4343``` typescript
44- export const ACCOUNT_IDS = {
45- // Human Resources Information System
46- HRIS: " your_hris_account_id" ,
47-
48- // Applicant Tracking System
49- ATS: " your_ats_account_id" ,
50-
51- // Customer Relationship Management
52- CRM: " your_crm_account_id" ,
53-
54- // Document Management System
55- DOCUMENTS: " your_documents_account_id" ,
56-
57- // Test account IDs (used in examples that don't make real API calls)
58- TEST: {
59- VALID: " test_account_id" ,
60- OVERRIDE: " test_account_id_override" ,
61- DIRECT: " test_account_id_direct" ,
62- INVALID: " invalid_test_account_id" ,
63- },
64- };
44+ // Replace with your actual account ID from StackOne dashboard
45+ const accountId = ' your-hris-account-id' ;
6546```
6647
48+ You can find your account IDs in the [ StackOne dashboard] ( https://app.stackone.com ) .
49+
6750## Running Examples
6851
6952### Run Individual Examples
@@ -287,7 +270,7 @@ cd examples && pnpm test examples.spec.ts
287270### Common Issues
288271
2892721 . ** Authentication Errors** : Ensure ` STACKONE_API_KEY ` is set correctly
290- 2 . ** Account ID Errors** : Update account IDs in ` constants.ts ` with your actual values
273+ 2 . ** Account ID Errors** : Update account ID placeholders in the example files with your actual values
2912743 . ** Network Errors** : Check if you're behind a proxy or firewall
2922754 . ** TypeScript Errors** : Ensure you're using compatible Node.js and TypeScript versions
293276
@@ -306,7 +289,7 @@ When adding new examples:
3062893 . Include proper error handling
3072904 . Add TypeScript types
3082915 . Test with the examples test suite
309- 6 . Update ` constants.ts ` if new account IDs are needed
292+ 6 . Use inline placeholder account IDs with clear comments (e.g., ` const accountId = 'your-hris-account-id'; ` )
310293
311294## License
312295
0 commit comments