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

# Use IncoJS in Existing Project

> Integrate incoJS into your existing JavaScript/TypeScript project.

<Note>
  {" "}

  Currently only tested with Webpack and NextJS. If you are using Rollup or Vite
  please report any issues [here](https://docs.google.com/forms/d/e/1FAIpQLSetj4PsvNUSTP7nQYun9D-VF1cXX6YtYctjKkzC4j-x_g2wXg/viewform){" "}
</Note>

## Install

Choose your favorite package manager:

<CodeGroup>
  ```bash npm theme={null}
  npm install @inco/js
  ```

  ```bash yarn theme={null}
  yarn add @inco/js
  ```

  ```bash bun theme={null}
  bun add @inco/js
  ```
</CodeGroup>

## Usage

A typical usage of `@inco/js` includes 3 steps:

1. Encrypting a value.
2. Posting the ciphertext to the contract, which will perform confidential computes on it.
3. Requesting a decryption of the result of the computation.

Next, follow the [Encryption guide](/js-sdk/encryption) for a full walkthrough of these steps.
