175. Zendesk 데이터 소스 연결 (Connect a data source)
- 원문: English
- 위치: Additional capabilities › Knowledge Bases › Build a managed knowledge base › Create a managed knowledge base › Connect a data source › Zendesk › Connect a data source
한 줄 요약
시크릿 준비 후 콘솔이나 CreateDataSource(MANAGED_KNOWLEDGE_BASE_CONNECTOR, type/connectorType = ZENDESK)로 Zendesk 데이터 소스를 만들고, 아티클·첨부·커뮤니티 게시글 크롤링 여부와 필터를 지정합니다.
쉽게 말하면
“어느 Zendesk에서(hostUrl), 어떤 열쇠로(secretArn), 무엇을(아티클/첨부/커뮤니티), 어디까지(카테고리·섹션·토픽·레이블)” 가져올지 정하는 페이지입니다.
핵심 내용
생성 방법
- 콘솔: Knowledge Bases › 관리형 KB 선택 › Data source type Zendesk › 호스트 URL › OAuth 2.0 시크릿 선택 › Sync scope(Articles (includes attachments) / Community posts) › (선택) Article filters, Community posts filter by topics, Label name filter
- API:
aws bedrock-agent create-data-source --knowledge-base-id ... --data-source-configuration file://zendesk-managed-connector.json - 📝 Managed KB의
CreateDataSource는 비동기이며 상태가CREATING→AVAILABLE로 바뀝니다.
{
"type": "MANAGED_KNOWLEDGE_BASE_CONNECTOR",
"managedKnowledgeBaseConnectorConfiguration": {
"connectorParameters": {
"type": "ZENDESK", "connectorType": "ZENDESK", "version": "1",
"connectionConfiguration": { "secretArn": "...", "authType": "OAUTH2", "hostUrl": "https://yoursubdomain.zendesk.com" },
"dataEntityConfiguration": { "crawlArticles": true, "crawlArticleAttachments": true, "crawlCommunityPosts": true },
"filterConfiguration": {
"maxFileSizeInMegaBytes": "10240",
"articleFilter": { "inclusionCategoryIds": ["..."], "inclusionSectionIds": ["..."] },
"communityPostFilter": { "inclusionTopicIds": ["..."] }
}
}
}
}
커넥터 파라미터
connectorParameters 바깥 필드(deletionProtectionConfiguration, mediaExtractionConfiguration 등)는 116 참고.
connectionConfiguration (모두 필수)
| 필드 | 설명 |
|---|---|
secretArn | clientId, clientSecret, instanceUrl이 든 시크릿 ARN |
hostUrl | Zendesk 호스트 URL. 멀티 브랜드는 해당 브랜드 서브도메인. 시크릿 instanceUrl과 같아야 함 |
authType | OAUTH2 |
dataEntityConfiguration (모두 필수)
| 필드 | 설명 |
|---|---|
crawlArticles | 헬프 센터 아티클 크롤링 |
crawlArticleAttachments | 아티클 첨부 크롤링 (콘솔에선 아티클과 한 옵션, API에선 분리) |
crawlCommunityPosts | 커뮤니티 게시글 크롤링 |
filterConfiguration (선택, 없으면 전체 아티클·게시글 크롤링)
| 필드 | 설명 |
|---|---|
articleFilter | inclusionCategoryIds, inclusionSectionIds. 숫자 ID, 헬프 센터 URL에 보임 (예: .../hc/en-us/categories/200420805) |
communityPostFilter | inclusionTopicIds. 숫자 ID (예: .../community/topics/360001234567) |
inclusionLabelNames | 레이블 목록. 일치하는 아티클·게시글만 동기화. 다른 필터와 함께 써서 범위를 더 좁힘 |
maxFileSizeInMegaBytes | 파일 1개 최대 크기(MB), 숫자 문자열(예: "10240") |
다음 단계
생성 후 동기화: 180
📝 원문 확인 필요: 이 페이지 마지막에 “Zendesk는 문서 수준 접근 제어를 지원하지 않으므로 KB를 쿼리할 수 있는 모든 인증 사용자가 크롤링된 모든 콘텐츠를 볼 수 있다"고 되어 있지만, 173·176은 Zendesk ACL(
aclEnabled)을 지원한다고 설명합니다. ACL을 켜지 않은 경우에 해당하는 설명으로 보입니다.
SA 관점
- 지원 포털 콘텐츠 중 내부용(에이전트 전용) 카테고리가 섞여 있다면 카테고리/섹션 필터로 범위를 먼저 좁히거나 ACL을 켜는 것을 설계 초기에 결정하세요(ACL은 생성 후 변경 불가, 176).
maxFileSizeInMegaBytes가 문자열 타입이라 IaC에서 숫자로 넣으면 검증 오류가 날 수 있습니다.