conductor-sdk 0.2.0

Rust SDK for Netflix Conductor workflow orchestration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
# Integration Management API Reference

Complete API reference for managing external system integrations in the Conductor Rust SDK.

> **Note**: Integration management is available with Orkes Conductor.

## Table of Contents

- [Quick Start]#quick-start
- [IntegrationClient API]#integrationclient-api
- [Managing Integrations]#managing-integrations
- [Managing Integration APIs]#managing-integration-apis
- [Prompt Associations]#prompt-associations
- [Token Usage Metrics]#token-usage-metrics
- [Tagging]#tagging
- [Best Practices]#best-practices

---

## Quick Start

```rust
use conductor::{Configuration, ConductorClient};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let config = Configuration::new("https://play.orkes.io/api")
        .with_auth("KEY_ID", "KEY_SECRET");
    
    let client = ConductorClient::new(config)?;
    let integration_client = client.integration_client();

    // Create an OpenAI integration
    let mut config = std::collections::HashMap::new();
    config.insert("api_key".to_string(), serde_json::json!("sk-..."));

    let integration = IntegrationUpdate {
        integration_type: Some("openai".to_string()),
        category: Some("AI_MODEL".to_string()),
        enabled: Some(true),
        description: Some("OpenAI GPT integration".to_string()),
        configuration: config,
    };

    integration_client.save_integration("my_openai", &integration).await?;

    println!("Integration created!");
    Ok(())
}
```

---

## IntegrationClient API

### Integration Management

| Method | Endpoint | Description |
|--------|----------|-------------|
| `save_integration()` | `PUT /integrations/provider/{name}` | Create or update an integration |
| `get_integration()` | `GET /integrations/provider/{name}` | Get an integration by name |
| `get_integrations()` | `GET /integrations/provider` | Get all integrations |
| `delete_integration()` | `DELETE /integrations/provider/{name}` | Delete an integration |
| `get_integration_provider_defs()` | `GET /integrations/def` | Get all provider definitions |
| `get_providers_and_integrations()` | `GET /integrations` | Get all providers and their integrations |

### Integration API Management

| Method | Endpoint | Description |
|--------|----------|-------------|
| `save_integration_api()` | `PUT /integrations/provider/{name}/integration/{api}` | Create or update an integration API |
| `get_integration_api()` | `GET /integrations/provider/{name}/integration/{api}` | Get an integration API |
| `get_integration_apis()` | `GET /integrations/provider/{name}/integration` | Get all APIs for an integration |
| `delete_integration_api()` | `DELETE /integrations/provider/{name}/integration/{api}` | Delete an integration API |
| `get_integration_available_apis()` | `GET /integrations/provider/{name}/models` | Get available APIs for an integration |

### Prompt Association

| Method | Endpoint | Description |
|--------|----------|-------------|
| `associate_prompt_with_integration()` | `POST /integrations/provider/{name}/integration/{model}/prompt/{prompt}` | Associate a prompt with a model |
| `get_prompts_with_integration()` | `GET /integrations/provider/{name}/integration/{model}/prompt` | Get prompts for a model |

### Token Usage Metrics

| Method | Endpoint | Description |
|--------|----------|-------------|
| `get_token_usage_for_integration()` | `GET /integrations/provider/{name}/integration/{api}/metrics` | Get token usage for an API |
| `get_token_usage_for_integration_provider()` | `GET /integrations/provider/{name}/metrics` | Get token usage for a provider |

### Tag Management

| Method | Endpoint | Description |
|--------|----------|-------------|
| `put_tag_for_integration()` | `PUT /integrations/provider/{name}/integration/{api}/tags` | Set tags for an integration API |
| `get_tags_for_integration()` | `GET /integrations/provider/{name}/integration/{api}/tags` | Get tags for an integration API |
| `delete_tag_for_integration()` | `DELETE /integrations/provider/{name}/integration/{api}/tags` | Delete tags from an integration API |
| `put_tag_for_integration_provider()` | `PUT /integrations/provider/{name}/tags` | Set tags for a provider |
| `get_tags_for_integration_provider()` | `GET /integrations/provider/{name}/tags` | Get tags for a provider |
| `delete_tag_for_integration_provider()` | `DELETE /integrations/provider/{name}/tags` | Delete tags from a provider |

---

## Managing Integrations

### Create an Integration

```rust
use conductor::models::IntegrationUpdate;
use std::collections::HashMap;

// Create an OpenAI integration
let mut config = HashMap::new();
config.insert("api_key".to_string(), serde_json::json!("sk-your-api-key"));

let integration = IntegrationUpdate {
    integration_type: Some("openai".to_string()),
    category: Some("AI_MODEL".to_string()),
    enabled: Some(true),
    description: Some("Production OpenAI integration".to_string()),
    configuration: config,
};

integration_client.save_integration("openai_prod", &integration).await?;
```

### Create Different Integration Types

```rust
// Vector Database (Pinecone)
let mut pinecone_config = HashMap::new();
pinecone_config.insert("api_key".to_string(), serde_json::json!("pc-your-key"));
pinecone_config.insert("environment".to_string(), serde_json::json!("us-east-1"));

let pinecone = IntegrationUpdate {
    integration_type: Some("pinecone".to_string()),
    category: Some("VECTOR_DB".to_string()),
    enabled: Some(true),
    description: Some("Pinecone vector database".to_string()),
    configuration: pinecone_config,
};

integration_client.save_integration("pinecone_prod", &pinecone).await?;

// Message Queue (Kafka)
let mut kafka_config = HashMap::new();
kafka_config.insert("bootstrap.servers".to_string(), serde_json::json!("kafka:9092"));

let kafka = IntegrationUpdate {
    integration_type: Some("kafka".to_string()),
    category: Some("MESSAGE_BROKER".to_string()),
    enabled: Some(true),
    description: Some("Kafka message broker".to_string()),
    configuration: kafka_config,
};

integration_client.save_integration("kafka_prod", &kafka).await?;

// Anthropic Claude
let mut claude_config = HashMap::new();
claude_config.insert("api_key".to_string(), serde_json::json!("sk-ant-your-key"));

let claude = IntegrationUpdate {
    integration_type: Some("anthropic".to_string()),
    category: Some("AI_MODEL".to_string()),
    enabled: Some(true),
    description: Some("Anthropic Claude integration".to_string()),
    configuration: claude_config,
};

integration_client.save_integration("claude_prod", &claude).await?;
```

### Get an Integration

```rust
let integration = integration_client.get_integration("openai_prod").await?;

println!("Name: {}", integration.name);
println!("Type: {:?}", integration.integration_type);
println!("Category: {:?}", integration.category);
println!("Enabled: {}", integration.enabled);
if let Some(desc) = &integration.description {
    println!("Description: {}", desc);
}
```

### List All Integrations

```rust
let integrations = integration_client.get_integrations().await?;

for integration in &integrations {
    println!("{} ({:?}) - Enabled: {}", 
        integration.name, 
        integration.integration_type,
        integration.enabled
    );
}
```

### Get Provider Definitions

```rust
// Get all available integration provider definitions
let provider_defs = integration_client.get_integration_provider_defs().await?;

for def in &provider_defs {
    println!("Provider: {}", serde_json::to_string_pretty(def)?);
}
```

### Get All Providers and Integrations

```rust
// Get a complete view of all providers and their integrations
let all_providers = integration_client.get_providers_and_integrations().await?;
println!("{}", serde_json::to_string_pretty(&all_providers)?);
```

### Update an Integration

```rust
// Update configuration
let mut updated_config = HashMap::new();
updated_config.insert("api_key".to_string(), serde_json::json!("sk-new-api-key"));
updated_config.insert("organization".to_string(), serde_json::json!("org-123"));

let update = IntegrationUpdate {
    integration_type: None,  // Keep existing
    category: None,          // Keep existing
    enabled: Some(true),
    description: Some("Updated OpenAI integration with org".to_string()),
    configuration: updated_config,
};

integration_client.save_integration("openai_prod", &update).await?;
```

### Delete an Integration

```rust
integration_client.delete_integration("old_integration").await?;
println!("Integration deleted");
```

---

## Managing Integration APIs

Integration APIs represent specific models, indexes, or endpoints within an integration (e.g., GPT-4 within OpenAI, or a specific index in Pinecone).

### Create an Integration API

```rust
use conductor::models::IntegrationApiUpdate;

// Add GPT-4 model to OpenAI integration
let mut model_config = HashMap::new();
model_config.insert("max_tokens".to_string(), serde_json::json!(4096));
model_config.insert("temperature".to_string(), serde_json::json!(0.7));

let gpt4_api = IntegrationApiUpdate {
    configuration: model_config,
    enabled: Some(true),
    description: Some("GPT-4 model for complex reasoning".to_string()),
};

integration_client.save_integration_api(
    "openai_prod",  // integration name
    "gpt-4",        // API/model name
    &gpt4_api,
).await?;

// Add GPT-3.5-turbo for simpler tasks
let mut turbo_config = HashMap::new();
turbo_config.insert("max_tokens".to_string(), serde_json::json!(2048));

let turbo_api = IntegrationApiUpdate {
    configuration: turbo_config,
    enabled: Some(true),
    description: Some("GPT-3.5 Turbo for cost-effective operations".to_string()),
};

integration_client.save_integration_api(
    "openai_prod",
    "gpt-3.5-turbo",
    &turbo_api,
).await?;
```

### Get an Integration API

```rust
let api = integration_client.get_integration_api(
    "gpt-4",        // API name
    "openai_prod",  // integration name
).await?;

println!("API: {}", api.name);
println!("Integration: {}", api.integration_name);
println!("Enabled: {}", api.enabled);
println!("Config: {:?}", api.configuration);
```

### List All APIs for an Integration

```rust
let apis = integration_client.get_integration_apis("openai_prod").await?;

for api in &apis {
    println!("{}: {} (enabled: {})", 
        api.name, 
        api.description.as_deref().unwrap_or("No description"),
        api.enabled
    );
}
```

### Get Available APIs for an Integration

```rust
// Discover what models/APIs are available for an integration provider
let available = integration_client.get_integration_available_apis("openai_prod").await?;

println!("Available models:");
for model in &available {
    println!("  - {}", model);
}
```

### Delete an Integration API

```rust
integration_client.delete_integration_api(
    "gpt-3.5-turbo",  // API name
    "openai_prod",    // integration name
).await?;
```

---

## Prompt Associations

Associate prompt templates with specific AI models for use in LLM tasks.

### Associate a Prompt with a Model

```rust
// First, create a prompt template (see PROMPT.md)
// Then associate it with an AI model

integration_client.associate_prompt_with_integration(
    "openai_prod",      // AI integration name
    "gpt-4",            // model name
    "customer_support", // prompt name
).await?;

println!("Prompt associated with model");
```

### Get Prompts for a Model

```rust
let prompts = integration_client.get_prompts_with_integration(
    "openai_prod",  // AI integration name
    "gpt-4",        // model name
).await?;

println!("Prompts for GPT-4:");
for prompt in &prompts {
    println!("  - {}: {}", prompt.name, prompt.description);
}
```

### Associate Multiple Prompts

```rust
// Associate the same prompt with multiple models
let prompt_name = "general_assistant";
let models = ["gpt-4", "gpt-3.5-turbo", "gpt-4-turbo"];

for model in &models {
    integration_client.associate_prompt_with_integration(
        "openai_prod",
        model,
        prompt_name,
    ).await?;
    println!("Associated {} with {}", prompt_name, model);
}
```

---

## Token Usage Metrics

Monitor token usage for cost tracking and optimization.

### Get Token Usage for a Model

```rust
let token_count = integration_client.get_token_usage_for_integration(
    "gpt-4",        // API/model name
    "openai_prod",  // integration name
).await?;

println!("Token usage for GPT-4: {}", token_count);
```

### Get Token Usage for a Provider

```rust
let usage = integration_client.get_token_usage_for_integration_provider(
    "openai_prod",  // integration name
).await?;

println!("Provider usage: {}", serde_json::to_string_pretty(&usage)?);
```

### Monitor All Model Usage

```rust
async fn print_usage_report(client: &IntegrationClient, integration_name: &str) -> Result<()> {
    let apis = client.get_integration_apis(integration_name).await?;
    
    println!("Token Usage Report for {}:", integration_name);
    println!("{:-<50}", "");
    
    let mut total = 0i64;
    for api in &apis {
        let usage = client.get_token_usage_for_integration(
            &api.name,
            integration_name,
        ).await?;
        
        println!("  {:<20} {:>15} tokens", api.name, usage);
        total += usage;
    }
    
    println!("{:-<50}", "");
    println!("  {:<20} {:>15} tokens", "TOTAL", total);
    
    Ok(())
}

// Usage
print_usage_report(&integration_client, "openai_prod").await?;
```

---

## Tagging

### Tag an Integration Provider

```rust
use conductor::models::MetadataTag;

let tags = vec![
    MetadataTag::new("environment", "production"),
    MetadataTag::new("team", "ai-platform"),
    MetadataTag::new("cost_center", "engineering"),
];

integration_client.put_tag_for_integration_provider(&tags, "openai_prod").await?;
```

### Get Provider Tags

```rust
let tags = integration_client.get_tags_for_integration_provider("openai_prod").await?;

for tag in &tags {
    println!("{}: {}", tag.key, tag.value);
}
```

### Delete Provider Tags

```rust
let tags_to_delete = vec![
    MetadataTag::new("cost_center", "engineering"),
];

integration_client.delete_tag_for_integration_provider(&tags_to_delete, "openai_prod").await?;
```

### Tag an Integration API

```rust
let model_tags = vec![
    MetadataTag::new("use_case", "customer_support"),
    MetadataTag::new("tier", "premium"),
    MetadataTag::new("rate_limit", "10000"),
];

integration_client.put_tag_for_integration(
    &model_tags,
    "openai_prod",  // integration name
    "gpt-4",        // API name
).await?;
```

### Get API Tags

```rust
let tags = integration_client.get_tags_for_integration(
    "openai_prod",
    "gpt-4",
).await?;

for tag in &tags {
    println!("{}: {}", tag.key, tag.value);
}
```

### Delete API Tags

```rust
let tags_to_delete = vec![
    MetadataTag::new("tier", "premium"),
];

integration_client.delete_tag_for_integration(
    &tags_to_delete,
    "openai_prod",
    "gpt-4",
).await?;
```

---

## Best Practices

### 1. Use Environment-Specific Integrations

```rust
// Create separate integrations for different environments
async fn setup_environment_integrations(
    client: &IntegrationClient,
    env: &str,
    api_key: &str,
) -> Result<()> {
    let mut config = HashMap::new();
    config.insert("api_key".to_string(), serde_json::json!(api_key));
    
    let integration = IntegrationUpdate {
        integration_type: Some("openai".to_string()),
        category: Some("AI_MODEL".to_string()),
        enabled: Some(true),
        description: Some(format!("OpenAI integration for {} environment", env)),
        configuration: config,
    };
    
    let name = format!("openai_{}", env);
    client.save_integration(&name, &integration).await?;
    
    // Tag with environment
    let tags = vec![MetadataTag::new("environment", env)];
    client.put_tag_for_integration_provider(&tags, &name).await?;
    
    Ok(())
}

// Usage
setup_environment_integrations(&client, "dev", "sk-dev-key").await?;
setup_environment_integrations(&client, "staging", "sk-staging-key").await?;
setup_environment_integrations(&client, "prod", "sk-prod-key").await?;
```

### 2. Implement Cost Monitoring

```rust
async fn check_usage_limits(
    client: &IntegrationClient,
    integration_name: &str,
    daily_limit: i64,
) -> Result<bool> {
    let usage = client.get_token_usage_for_integration_provider(integration_name).await?;
    
    // Parse usage (structure depends on provider)
    let current_usage = usage.get("daily_tokens")
        .and_then(|v| v.as_i64())
        .unwrap_or(0);
    
    if current_usage > daily_limit {
        println!("WARNING: Daily limit exceeded for {}", integration_name);
        println!("Current: {}, Limit: {}", current_usage, daily_limit);
        return Ok(false);
    }
    
    let percentage = (current_usage as f64 / daily_limit as f64) * 100.0;
    if percentage > 80.0 {
        println!("ALERT: {} is at {:.1}% of daily limit", integration_name, percentage);
    }
    
    Ok(true)
}
```

### 3. Centralized Integration Setup

```rust
use conductor::models::{IntegrationUpdate, IntegrationApiUpdate};

struct IntegrationSetup {
    client: IntegrationClient,
}

impl IntegrationSetup {
    pub async fn setup_openai(
        &self,
        name: &str,
        api_key: &str,
        models: &[&str],
    ) -> Result<()> {
        // Create integration
        let mut config = HashMap::new();
        config.insert("api_key".to_string(), serde_json::json!(api_key));
        
        let integration = IntegrationUpdate {
            integration_type: Some("openai".to_string()),
            category: Some("AI_MODEL".to_string()),
            enabled: Some(true),
            description: Some("OpenAI integration".to_string()),
            configuration: config,
        };
        
        self.client.save_integration(name, &integration).await?;
        
        // Setup models
        for model in models {
            let api = IntegrationApiUpdate {
                configuration: HashMap::new(),
                enabled: Some(true),
                description: Some(format!("{} model", model)),
            };
            
            self.client.save_integration_api(name, model, &api).await?;
        }
        
        Ok(())
    }
    
    pub async fn setup_vector_db(
        &self,
        name: &str,
        provider: &str,
        config: HashMap<String, serde_json::Value>,
    ) -> Result<()> {
        let integration = IntegrationUpdate {
            integration_type: Some(provider.to_string()),
            category: Some("VECTOR_DB".to_string()),
            enabled: Some(true),
            description: Some(format!("{} vector database", provider)),
            configuration: config,
        };
        
        self.client.save_integration(name, &integration).await
    }
}
```

### 4. Disable Instead of Delete

```rust
// Prefer disabling integrations over deleting them
async fn disable_integration(
    client: &IntegrationClient,
    name: &str,
) -> Result<()> {
    let update = IntegrationUpdate {
        integration_type: None,
        category: None,
        enabled: Some(false),  // Disable, don't delete
        description: None,
        configuration: HashMap::new(),
    };
    
    client.save_integration(name, &update).await?;
    
    // Tag as disabled with timestamp
    let tags = vec![
        MetadataTag::new("status", "disabled"),
        MetadataTag::new("disabled_at", &chrono::Utc::now().to_rfc3339()),
    ];
    client.put_tag_for_integration_provider(&tags, name).await?;
    
    Ok(())
}
```

### 5. Validate Integration Health

```rust
async fn validate_integration_setup(
    client: &IntegrationClient,
    integration_name: &str,
) -> Result<bool> {
    // Check integration exists and is enabled
    let integration = match client.get_integration(integration_name).await {
        Ok(i) => i,
        Err(e) => {
            println!("Integration not found: {}", e);
            return Ok(false);
        }
    };
    
    if !integration.enabled {
        println!("Integration is disabled");
        return Ok(false);
    }
    
    // Check for configured APIs
    let apis = client.get_integration_apis(integration_name).await?;
    let enabled_apis: Vec<_> = apis.iter().filter(|a| a.enabled).collect();
    
    if enabled_apis.is_empty() {
        println!("No enabled APIs found for integration");
        return Ok(false);
    }
    
    println!("Integration {} is healthy with {} enabled APIs", 
        integration_name, 
        enabled_apis.len()
    );
    
    Ok(true)
}
```

---

## Models Reference

### Integration

```rust
pub struct Integration {
    pub name: String,
    pub integration_type: Option<String>,  // e.g., "openai", "pinecone", "kafka"
    pub category: Option<String>,          // e.g., "AI_MODEL", "VECTOR_DB", "MESSAGE_BROKER"
    pub enabled: bool,
    pub description: Option<String>,
    pub configuration: HashMap<String, serde_json::Value>,
    pub create_time: Option<i64>,
    pub created_by: Option<String>,
    pub update_time: Option<i64>,
    pub updated_by: Option<String>,
}
```

### IntegrationUpdate

```rust
pub struct IntegrationUpdate {
    pub integration_type: Option<String>,
    pub category: Option<String>,
    pub enabled: Option<bool>,
    pub description: Option<String>,
    pub configuration: HashMap<String, serde_json::Value>,
}
```

### IntegrationApi

```rust
pub struct IntegrationApi {
    pub name: String,
    pub integration_name: String,
    pub configuration: HashMap<String, serde_json::Value>,
    pub enabled: bool,
    pub description: Option<String>,
    pub create_time: Option<i64>,
    pub created_by: Option<String>,
    pub update_time: Option<i64>,
    pub updated_by: Option<String>,
}
```

### IntegrationApiUpdate

```rust
pub struct IntegrationApiUpdate {
    pub configuration: HashMap<String, serde_json::Value>,
    pub enabled: Option<bool>,
    pub description: Option<String>,
}
```

---

## See Also

- [Prompt Management]./PROMPT.md - Managing AI prompts
- [Secret Management]./SECRET_MANAGEMENT.md - Storing API keys securely
- [Authorization]./AUTHORIZATION.md - Access control for integrations