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

# Choose an integration

## Introduction

Choose the layer your application needs: hosted Solana wallet services,
direct protocol transactions, or user sign-in. The Developer SDK works with
Swig’s hosted API; Protocol SDK integrations own their RPC and transaction
construction. IdP adds browser or mobile authentication.

## Examples

### Start with hosted services

Install the Developer SDK for server-side wallet preparation and queries.

```bash TypeScript theme={null}
bun add @swig-wallet/developer-sdk
```

```bash Python theme={null}
pip install --upgrade swig-developer-sdk
```

```bash Rust theme={null}
cargo add swig-developer-sdk
```

### Connect an authenticated session

For an application combining IdP and hosted services, bind the verified session to a wallet handle. This local helper makes no API request.

```typescript TypeScript theme={null}
const wallet = swig.wallets.fromIdpSession(session, { network: 'mainnet' });
```

```python Python theme={null}
wallet = swig.wallets.from_idp_session(session, network="mainnet")
```

## Input

| Need | Integration | Languages |
| :- | :- | :- |
| Hosted Solana wallet operations and data | [Developer SDK](https://build.onswig.com/developer-sdk/integration-paths.md) | TypeScript, Python, Rust; feature coverage varies by language. |
| Direct Solana instruction construction | [Solana SDK](https://build.onswig.com/solana.md) | TypeScript and Rust. |
| Direct EVM wallet transactions | [EVM SDK](https://build.onswig.com/evm.md) | Source-available TypeScript, Rust, and Python integrations. |
| Browser or mobile sign-in | [IdP SDK](https://build.onswig.com/idp-sdk.md) | TypeScript; browser and Expo/React Native. |
| Assistant documentation or wallet tools | [Install MCP](https://build.onswig.com/build-with-ai.md) | MCP-compatible client. |

## Output

| Integration | Result / responsibility |
| :- | :- |
| Developer SDK | Prepared transactions or typed hosted data. Your application owns user authorization, signing, and confirmation. |
| Protocol SDK | Direct protocol instructions/transactions. Your application owns RPC, authority integration, and submission. |
| IdP SDK | Authenticated session with wallet references. Verify the session before using it for application authorization. |

## Errors

| Error | Meaning |
| :- | :- |
| Wrong integration layer | Hosted preparation, direct protocol construction, and IdP authentication use different packages and contracts. |
| Feature unavailable in a language | Use the language tabs on the owning guide; do not infer parity from a shared product name. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.