|
| 1 | +--- |
| 2 | +title: Using Claude 3.5 Sonnet in GitHub Copilot |
| 3 | +allowTitleToDifferFromFilename: true |
| 4 | +shortTitle: 'Use {% data variables.copilot.copilot_claude_sonnet %}' |
| 5 | +intro: 'Learn how to enable {% data variables.copilot.copilot_claude_sonnet %} for {% ifversion fpt %}yourself or{% endif %} your organization{% ifversion ghec %} or enterprise{% endif %}.' |
| 6 | +versions: |
| 7 | + feature: copilot |
| 8 | +topics: |
| 9 | + - Copilot |
| 10 | +--- |
| 11 | + |
| 12 | +> [!NOTE] {% data variables.copilot.copilot_claude_sonnet %} is in {% data variables.release-phases.public_preview %} and subject to change. The "[AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-pre-release-license-terms)" apply to your use of this product. |
| 13 | +
|
| 14 | +## {% data variables.copilot.copilot_claude_sonnet %} announcement and rollout |
| 15 | + |
| 16 | +{% data variables.copilot.copilot_claude_sonnet %} availability in {% data variables.product.prodname_copilot %} was announced on October 29th at GitHub Universe 2024. Access to the model will roll out progressively over an estimated two-week period to all {% data variables.product.prodname_copilot_short %} plans. This new model will initially be available in {% data variables.product.prodname_copilot_chat_short %} for {% data variables.product.prodname_vscode %} and in immersive chat on the {% data variables.product.github %} website. |
| 17 | + |
| 18 | +To know if you or your organization has access to enable {% data variables.copilot.copilot_claude_sonnet %}, you can check whether the policy is present at the bottom of [your personal {% data variables.product.prodname_copilot_short %} policy settings](https://github.com/settings/copilot). If you don't see a policy for **Anthropic {% data variables.copilot.copilot_claude_sonnet %} for {% data variables.product.prodname_copilot_short %}**, you have not yet received access via the rollout. |
| 19 | + |
| 20 | +## About {% data variables.copilot.copilot_claude_sonnet %} on GitHub |
| 21 | + |
| 22 | +{% data variables.copilot.copilot_claude_sonnet %} excels at coding tasks across the entire software development lifecycle, from initial design to bug fixes, maintenance to optimizations. Learn more about the [model's capabilities](https://www.anthropic.com/claude/sonnet) or read the [model card](https://assets.anthropic.com/m/61e7d27f8c8f5919/original/Claude-3-Model-Card.pdf). |
| 23 | + |
| 24 | +{% data variables.product.prodname_copilot %} uses {% data variables.copilot.copilot_claude_sonnet %} hosted on Amazon Web Services. When using {% data variables.copilot.copilot_claude_sonnet %}, prompts and metadata are sent to Amazon's Bedrock service, which makes the [following data commitments](https://docs.aws.amazon.com/bedrock/latest/userguide/data-protection.html): _Amazon Bedrock doesn't store or log your prompts and completions. Amazon Bedrock doesn't use your prompts and completions to train any AWS models and doesn't distribute them to third parties_. |
| 25 | + |
| 26 | +When using {% data variables.copilot.copilot_claude_sonnet %}, input prompts and output completions continue to run through {% data variables.product.prodname_copilot %}'s content filters for public code matching, when applied, along with those for harmful, offensive, or off-topic content. |
| 27 | + |
| 28 | +## Configuring access |
| 29 | + |
| 30 | +You must enable access to {% data variables.copilot.copilot_claude_sonnet %} before you can use the model. |
| 31 | + |
| 32 | +{% ifversion fpt %} |
| 33 | + |
| 34 | +### Setup for individual use |
| 35 | + |
| 36 | +If you have a {% data variables.product.prodname_copilot_individuals_short %} subscription, you can enable {% data variables.copilot.copilot_claude_sonnet %} in two ways: |
| 37 | + |
| 38 | +* The first time you choose to use {% data variables.copilot.copilot_claude_sonnet %} with {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}, or in the immersive view of {% data variables.product.prodname_copilot_chat_short %}, you will be prompted to allow access to the model. |
| 39 | + |
| 40 | + Clicking **Allow** enables you to use {% data variables.copilot.copilot_claude_sonnet %} and updates the policy in your personal settings on {% data variables.product.github %}. |
| 41 | + |
| 42 | +* You can enable the model directly in your personal settings on the {% data variables.product.github %} website. See "[AUTOTITLE](/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-copilot-policies-as-an-individual-subscriber#enabling-or-disabling-claude-35-sonnet)." |
| 43 | + |
| 44 | +{% endif %} |
| 45 | + |
| 46 | +### Setup for organization {% ifversion ghec %}and enterprise{% endif %} use |
| 47 | + |
| 48 | +As an {% ifversion ghec %}enterprise or{% endif %} organization owner, you can enable or disable {% data variables.copilot.copilot_claude_sonnet %} for everyone who has been assigned a {% ifversion ghec %}{% data variables.product.prodname_copilot_enterprise_short %} or {% endif %}{% data variables.product.prodname_copilot_business_short %} seat through your {% ifversion ghec %}enterprise or {% endif %}organization. See "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization){% ifversion ghec %}" and "[AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise){% endif %}." |
| 49 | + |
| 50 | +## Using {% data variables.copilot.copilot_claude_sonnet %} |
| 51 | + |
| 52 | +For details of how to change the model for {% data variables.product.prodname_copilot_chat_short %}, see: |
| 53 | + |
| 54 | +* "[AUTOTITLE](/copilot/using-github-copilot/asking-github-copilot-questions-in-githubcom#changing-your-ai-model)" |
| 55 | +* "[AUTOTITLE](/copilot/using-github-copilot/asking-github-copilot-questions-in-your-ide#changing-your-ai-model)" |
0 commit comments