---
title: "Anthropic"
id: "27676"
type: "epkb_post_type_1"
slug: "anthropic"
published_at: "2024-09-23T21:19:55+00:00"
modified_at: "2026-04-28T03:37:10+00:00"
url: "https://docs.rc.fas.harvard.edu/kb/anthropic/"
markdown_url: "https://docs.rc.fas.harvard.edu/kb/anthropic.md"
excerpt: "Description See Claude on the website and documentation. Security Please, carefully read Harvard’s AI guidelines and Generative AI tool comparison. You can only use Anthropic tools and other GenAI models on non-sensitive data (data security level 1) public data on..."
taxonomy_epkb_post_type_1_category:
  - "AI"
---

# Anthropic

## Description

See Claude on the [website](https://www.anthropic.com/claude)
 and [documentation](https://docs.anthropic.com/en/docs/intro-to-claude)
.

## Security

Please, **carefully** read Harvard’s [AI guidelines](https://huit.harvard.edu/ai/guidelines)
 and [Generative AI tool comparison](https://huit.harvard.edu/ai/tools)
.

You can only use Anthropic tools and other GenAI models on non-sensitive data (data security level 1) public data on Cannon.

For [data security levels 2 and 3](https://docs.rc.fas.harvard.edu/kb/data-security-levels/)
, you need to work with your school to discuss your needs. It is your responsibility to make sure you get setup with the appropriate contractual coverage and environment — esp. to avoid having the model learn from your input and leak sensitive information.

## Installation

You can install Claude software development kit (SDK) for Python in a [conda/mamba environment](https://docs.rc.fas.harvard.edu/kb/python-package-installation/)
. Here is a quick installation script to get you started:

`#!/bin/bash`  
 `salloc --partition=test --time=02:00:00 --mem=8G --cpus-per-task=2`  
 `module load python`  
 `export PYTHONNOUSERSITE=yes`  
 `mamba create --name claude_env python -y`  
 `source activate claude_env`  
 `pip install anthropic`  
 `conda deactivate`

## Run Anthropic Model

You will need to provide an Anthropic API key. You can generate one from their [API page](https://console.anthropic.com/login?selectAccount=true&returnTo=%2Fsettings%2Fkeys%3F)
. Also, see their [quickstart guide](https://docs.anthropic.com/en/docs/quickstart)
. If you want to generate an API key for your lab, then you can follow the instructions [here](https://docs.rc.fas.harvard.edu/kb/openai-guidelines/#Option_2_HUIT_recommended_8211_needs_33-digit_billing_code_8211_Best_executed_by_the_PI)
 to set that up and add the billing information to your account prior to running Claude on the cluster.

## Examples

See FASRC User Codes repo for [example Claude scripts](https://github.com/fasrc/User_Codes/tree/master/AI/Anthropic)
.

See also Anthropic’s own [Anthropic Cookbooks](https://github.com/anthropics/anthropic-cookbook)
.

## Resources

**[Anthropic Quickstarts](http://://github.com/anthropics/anthropic-quickstarts)**: A collection of projects designed to help developers quickly get started with building applications using the Anthropic API. Each quickstart provides a foundation that you can easily build upon and customize for your specific needs.

**[Anthropic Official Documentation](https://docs.anthropic.com)**: Comprehensive guide to using Claude, including setup, API usage, and troubleshooting.

**[Claude AI API Access](https://console.anthropic.com/)**: Portal to access the Claude API, set up API keys, and manage your integrations.

**[Claude’s Capabilities and Model Family](https://www.anthropic.com)**: Learn about Claude’s different models such as Sonnet and Haiku, tailored for various performance needs.

Bookmarkable Links

- [1. Description](#Description)
- [2. Security](#Security)
- [3. Installation](#Installation)
- [4. Run Anthropic Model](#Run_Anthropic_Model)
- [5. Examples](#Examples)
- [6. Resources](#Resources)

Last UpdatedApril 28, 2026
