# How to integrate

## Integrate Intents with Your DApp, Smart Contract Wallet, or EOA

#### Integrating Bril is pretty easy. Follow these simple steps to enable streamlined transaction commands in your wallets or protocols.

1. Install the sdk via npm/yarn/pnpm

```bash
pnpm install @bytekode/intents
```

2. Import & Initialize the Intents class in your node.js file

```typescript
import { Intents } from '@bytekode/intents'
​
const intents = new Intents('test-api-key')
```

3. Pass in the following parameters, to receive a transaction object

```typescript
<!-- command: `I want to send 10 usdc to vitalik.eth` -->

const txObject = await intents.getTransaction(chainId, command, address_of_signer)
```

4. The above transaction object can then be used to confirm the transaction, via any user connected wallets

**Obtaining an API Key**

* To get started with Bril and obtain your API key, please contact us at:

  *<mark style="color:blue;">**<shlok@bytekode.xyz>**</mark>* or *<mark style="color:blue;">**@shlok\_28**</mark>* on telegram

#### Ready to Simplify Your Web3 Experience?

With Bril, you’re not just integrating an SDK; you’re revolutionizing the way users interact with your application. Embrace the future of Web3 with Rivendell's intuitive and efficient transaction processing.
