> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runmorph.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Models

> Unified data models across all connectors for seamless integration.

Morph provides a comprehensive set of unified data models that work consistently across all supported connectors. This powerful abstraction layer lets you write code once and integrate with multiple platforms effortlessly.

<Check>
  **Live Demo** <br />
  Select a connector below to experience our seamless authentication flow and see
  how easy it is to connect third-party services.
</Check>

<iframe src="https://atoms-playground.vercel.app?theme=light" width="100%" height="370px" className="block dark:hidden" />

<iframe src="https://atoms-playground.vercel.app?theme=dark" width="100%" height="370px" className="hidden dark:block" />

## Key Features

✓ [30+ pre-built unified models](./models/all)
✓ Consistent API across all connectors
✓ Type-safe interfaces
✓ Automatic data mapping
✓ Real-time synchronization support

## Quick Start

```typescript theme={null}
import { Morph } from "@runmorph/cloud";

// Initialize morph client
const morph = new Morph({
  publicKey: "pk_live_xxxxxxx",
  secretKey: "sk_live_xxxxxxx",
});

// Initialize the connection client for a connector and customer / user
const connection = morph.connections({
  connectorId: "hubspot",
  ownerId: "demo",
});

// Access a specific resource model
const contacts = connection.resources("genericContact");

// Create a resource
const { data, error } = await contacts.create({
  firstName: "John",
  lastName: "Doe",
  email: "john.doe@corp.co",
});

// Retrieve a specific resource
const { data, error } = await contacts.retrieve("contact-123", {
  fields: ["email", "firstName"],
});
```

## Benefits

* **Write Once, Run Anywhere**: Your code works with any supported connector
* **Reduced Complexity**: No need to learn multiple APIs
* **Type Safety**: Full TypeScript support with autocomplete
* **Future Proof**: New connectors just work with existing code
* **Simplified Maintenance**: One codebase to maintain
