> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-1761.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Slack alerts

W\&B 서버를 [Slack](https://slack.com/) 과 통합합니다.

<Note>
  [W\&B 전용 클라우드 배포에서 Slack 알림을 설정하는 방법을 보여주는 비디오](https://www.youtube.com/watch?v=JmvKb-7u-oU) (6분)를 시청하세요.
</Note>

## Slack 애플리케이션 만들기

아래 절차에 따라 Slack 애플리케이션을 만드세요.

1. [https://api.slack.com/apps](https://api.slack.com/apps) 를 방문하여 **Create an App** 을 선택합니다.

   <Frame>
     <img src="https://mintcdn.com/wb-21fd5541-docs-1761/0Rext0E3vsKe0BbV/images/hosting/create_an_app.png?fit=max&auto=format&n=0Rext0E3vsKe0BbV&q=85&s=b160b542b586c7523f1afab3e4a1906d" width="1442" height="686" data-path="images/hosting/create_an_app.png" />
   </Frame>

2. **App Name** 필드에 앱 이름을 입력합니다.

3. 앱을 개발할 Slack 워크스페이스를 선택합니다. 사용하는 Slack 워크스페이스가 알림에 사용하려는 워크스페이스와 동일한지 확인하세요.

   <Frame>
     <img src="https://mintcdn.com/wb-21fd5541-docs-1761/xzlaJK6q_HKziJ0d/images/hosting/name_app_workspace.png?fit=max&auto=format&n=xzlaJK6q_HKziJ0d&q=85&s=c0ad7c524c11c6e62ba6d56dab26528f" width="1160" height="1106" data-path="images/hosting/name_app_workspace.png" />
   </Frame>

## Slack 애플리케이션 구성

1. 왼쪽 사이드바에서 **OAth & Permissions** 를 선택합니다.

   <Frame>
     <img src="https://mintcdn.com/wb-21fd5541-docs-1761/0Rext0E3vsKe0BbV/images/hosting/add_an_oath.png?fit=max&auto=format&n=0Rext0E3vsKe0BbV&q=85&s=3822e52634c5d50608d964bffcb1b8fe" width="218" height="324" data-path="images/hosting/add_an_oath.png" />
   </Frame>

2. Scopes 섹션에서 봇에 **incoming\_webhook** 스코프를 제공합니다. 스코프는 앱에 개발 워크스페이스에서 작업을 수행할 수 있는 권한을 부여합니다.

   봇에 대한 OAuth 스코프에 대한 자세한 내용은 Slack API 설명서의 봇에 대한 OAuth 스코프 이해 튜토리얼을 참조하세요.

   <Frame>
     <img src="https://mintcdn.com/wb-21fd5541-docs-1761/xzlaJK6q_HKziJ0d/images/hosting/save_urls.png?fit=max&auto=format&n=xzlaJK6q_HKziJ0d&q=85&s=bf2886ec8157cca259edae370704a2a6" width="656" height="291" data-path="images/hosting/save_urls.png" />
   </Frame>

3. 리디렉션 URL이 W\&B 설치를 가리키도록 구성합니다. 로컬 시스템 설정에서 호스트 URL이 설정된 URL과 동일한 URL을 사용합니다. 인스턴스에 대한 DNS 매핑이 다른 경우 여러 URL을 지정할 수 있습니다.

   <Frame>
     <img src="https://mintcdn.com/wb-21fd5541-docs-1761/xzlaJK6q_HKziJ0d/images/hosting/redirect_urls.png?fit=max&auto=format&n=xzlaJK6q_HKziJ0d&q=85&s=fa68d5c79124ea846867bae2f6719a7c" width="650" height="321" data-path="images/hosting/redirect_urls.png" />
   </Frame>

4. **Save URLs** 를 선택합니다.

5. 선택적으로 **Restrict API Token Usage** 아래에 IP 범위를 지정하여 W\&B 인스턴스의 IP 또는 IP 범위를 허용 목록에 추가할 수 있습니다. 허용된 IP 어드레스를 제한하면 Slack 애플리케이션을 더욱 안전하게 보호할 수 있습니다.

## W\&B에 Slack 애플리케이션 등록

1. 배포에 따라 W\&B 인스턴스의 **System Settings** 또는 **System Console** 페이지로 이동합니다.

2. 현재 있는 시스템 페이지에 따라 아래 옵션 중 하나를 따르세요.

   * **System Console** 에 있는 경우 **Settings** 로 이동한 다음 **Notifications** 로 이동합니다.

     <Frame>
       <img src="https://mintcdn.com/wb-21fd5541-docs-1761/xzlaJK6q_HKziJ0d/images/hosting/register_slack_app_console.png?fit=max&auto=format&n=xzlaJK6q_HKziJ0d&q=85&s=c6533fa3da7159540b393396a5c60ca0" width="1134" height="477" data-path="images/hosting/register_slack_app_console.png" />
     </Frame>

   * **System Settings** 에 있는 경우 **Enable a custom Slack application to dispatch alerts** 를 전환하여 사용자 지정 Slack 애플리케이션을 활성화합니다.

     <Frame>
       <img src="https://mintcdn.com/wb-21fd5541-docs-1761/xzlaJK6q_HKziJ0d/images/hosting/register_slack_app.png?fit=max&auto=format&n=xzlaJK6q_HKziJ0d&q=85&s=fdeda8ab673bdf610d985e95670f7461" width="667" height="187" data-path="images/hosting/register_slack_app.png" />
     </Frame>

3. **Slack client ID** 와 **Slack secret** 을 제공한 다음 **Save** 를 클릭합니다. Settings 의 Basic Information 으로 이동하여 애플리케이션의 클라이언트 ID와 secret 을 찾습니다.

4. W\&B 앱에서 Slack 인테그레이션을 설정하여 모든 것이 작동하는지 확인합니다.
