> For the complete documentation index, see [llms.txt](https://docs.quilt.bio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quilt.bio/quilt-python-sdk/quickstart.md). Agents can also search and read this documentation through its [MCP server](https://docs.quilt.bio/~gitbook/mcp).

# Quick Start

Get up and running with Quilt in minutes! This guide provides multiple learning paths based on your experience level and preferred learning style.

## 🚀 Choose Your Learning Path

### 👨‍💻 **For Developers** - Hands-on Python Tutorial

Start coding immediately with our interactive Python tutorial:

* [**Interactive Python Tutorial**](https://app.quilt.bio/b/quilt-example/packages/examples/quickstart/tree/latest/QuickStart.ipynb) - Learn `quilt3` through practical examples

### 📺 **For Visual Learners** - Video Tutorials

Watch comprehensive video guides:

* [**Complete Video Series**](https://www.youtube.com/playlist?list=PLmXfD6KoA_vBtgGgt0X4ui4cRlEkdJKp9) - How to work with S3 datasets using Quilt
* **Duration**: \~30 minutes total
* **Topics**: Installation, basic operations, data versioning, collaboration

### 📊 **For Data Scientists** - Real Dataset Exploration

Explore production datasets with guided examples:

* [**CORD-19 Dataset Analysis**](https://app.quilt.bio/b/quilt-example/packages/akarve/cord19) - Real-world COVID research data exploration
* [**Machine Learning with PyTorch**](https://medium.com/pytorch/how-to-iterate-faster-in-machine-learning-by-versioning-data-and-models-featuring-detectron2-4fd2f9338df5) - Versioning data and models for rapid ML experimentation

## ⚡ 5-Minute Quick Start

### 1. **Install Quilt**

```bash
pip install quilt3
```

### 2. **Authenticate (Optional for the Sample Bucket)**

The sample bucket `s3://quilt-example` allows anonymous reads, so no authentication is needed to follow along. For your organization's buckets and catalogs, choose your authentication method:

```python
import quilt3

# Interactive login (for local development, notebooks)
quilt3.login()  # Opens browser for OAuth/SSO

# OR use an API key (for automation, CI/CD, scripts)
import os

# QUILT_REGISTRY_URL is the `registryUrl` from your catalog's /config.json
quilt3.login_with_api_key(
    os.environ["QUILT_API_KEY"],
    registry_url=os.environ["QUILT_REGISTRY_URL"],
)
```

**📚 Learn more**: See the [Authentication Guide](https://docs.quilt.bio/quilt-python-sdk/api-reference/authentication.md) for detailed setup instructions, best practices, and use cases.

### 3. **Browse Sample Data**

```python
import quilt3

# Browse the sample datasets (no auth needed for the sample bucket)
packages = list(quilt3.list_packages("s3://quilt-example"))
print(f"Found {len(packages)} sample datasets")

# Load a sample dataset
pkg = quilt3.Package.browse("examples/hurdat", "s3://quilt-example")
print(pkg)
```

### 4. **Access Your First File**

```python
# Access a file (using pkg from previous step)
data_file = pkg["README_NF_QUILT.md"]

# get() returns the file's physical location (an S3 URI), not its contents
print(data_file.get())

# Read the file contents into memory as a string
content = data_file.get_as_string()
print(content)
```

### 5. **Create Your First Package**

```python
import quilt3
import tempfile
import os

# Create a temporary file
with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt') as f:
    f.write("Hello, Quilt!")
    temp_file = f.name

# Create a new package
new_pkg = quilt3.Package()
new_pkg.set("my_data.txt", temp_file)
new_pkg.set_meta({"description": "My first Quilt package"})

# Clean up
os.unlink(temp_file)

# Note: Pushing requires S3 credentials, so we'll just show the package
print(f"Package created with {len(new_pkg)} files")
```

## 🎯 Next Steps

### **Beginner Path**

1. ✅ Complete the 5-minute quick start above
2. 📖 Read the [Mental Model](https://docs.quilt.bio/mentalmodel.md) to understand Quilt concepts
3. 🔧 Follow the [Installation Guide](https://docs.quilt.bio/quilt-python-sdk/installation.md) for your environment
4. 📝 Try the [Basic Workflows](https://docs.quilt.bio/quilt-python-sdk/uploading-a-package.md)

### **Intermediate Path**

1. 🏗️ Set up your [AWS Integration](https://docs.quilt.bio/quilt-platform-administration/crossaccount.md)
2. 👥 Configure [Team Collaboration](https://docs.quilt.bio/quilt-platform-administration/admin.md)
3. 🔍 Learn [Advanced Search](https://docs.quilt.bio/quilt-platform/advanced/working-with-elasticsearch.md)
4. 📊 Explore [Data Visualization](https://docs.quilt.bio/quilt-platform/visualizationdashboards.md)

### **Advanced Path**

1. 🔐 Configure [Cross-Account Access](https://docs.quilt.bio/quilt-platform-administration/crossaccount.md)
2. ⚡ Set up [EventBridge Integration](https://docs.quilt.bio/quilt-platform-administration/advanced/eventbridge.md)
3. 🤖 Implement [Automated Workflows](https://docs.quilt.bio/quilt-platform/workflows.md)
4. 🔧 Use the [Admin API](https://docs.quilt.bio/quilt-platform-administration/admin-1.md)

## 🌐 Try the Sample Catalog

Want to see a Quilt catalog in action before deploying your own?

* [**Sample catalog**](https://app.quilt.bio/) - A sample catalog maintained by Quilt with example datasets for the tutorials in these docs
* **No registration required** - Start exploring immediately

Quilt is built for your team's own data: your organization runs its own catalog, in its own AWS account, on its own private S3 buckets.

## 💡 Common Use Cases

### **Data Science Teams**

* Version control for datasets and models
* Reproducible research and experiments
* Collaborative data exploration

### **ML/AI Development**

* Dataset versioning for model training
* Experiment tracking and comparison
* Model artifact management

### **Enterprise Data Management**

* Centralized data catalog
* Data governance and compliance
* Cross-team data sharing

### **Research Organizations**

* Research data management
* Publication-ready data packages
* Long-term data preservation

## 🆘 Need Help?

* 📖 **Documentation**: Browse the full [Quilt Documentation](https://github.com/quiltdata/deployment/tree/main/README.md)
* 💬 **Community**: Join our [Slack Community](https://slack.quilt.bio)
* 🐛 **Issues**: Report bugs on [GitHub](https://github.com/quiltdata/quilt/issues)
* 📧 **Support**: Contact <support@quilt.bio>

***

**Ready to dive deeper?** Continue with the [Mental Model](https://docs.quilt.bio/mentalmodel.md) to understand how Quilt organizes and manages your data.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.quilt.bio/quilt-python-sdk/quickstart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
