# Getting Started

## Start simplify monetization of your website, now!

### Install

Monetizing website can be fairly simple, until it was complex. When people get involved and talks about revenue sharing many things can go wrong, especially when there's lack of financial transparency from the website owner.

Fret not. **Fundme.js** is here to the rescue!

```
$ npm install fundme --save
```

Once you integrate Fundme.js into your site, you can start monetizing even when lots of contributors involved. All you need to do is insert contributors [Interledger payment pointer](https://paymentpointers.org/) (for Web Monetization) along with a very few line of code, something like this:

{% code title="index.js" %}

```typescript
import { fund } from "fundme";

fund([
    "$wallet.example.com/author",
    "$wallet.example.com/editor-1",
    "$wallet.example.com/editor-2",
    "$wallet.example.com/proofreader",
    "$wallet.example.com/platform-owner"
]);
```

{% endcode %}

### Don't have payment pointer yet?

Payment pointer is mainly used for [Web Monetization](https://webmonetization.org/) right now, that is, content subscription that pay authors as well as contributors in real time.

Here in 2020 we currently have one Web Monetization subscription service provider, Coil. Head to their website at <https://coil.com/> and start receiving money from your audiences and fans!

### Have no idea what those above mean?

Guess you're not into modern JavaScript stuff, huh. Don't worry, we'll provide you guides implementing **Fundme.js** with other methods! Stay tune!

{% hint style="warning" %}
Revenue sharing with Web Monetization is not part of the spec, but workaround of its JavaScript API. Using at least two payment pointers with **Fundme.js** at the same time could lead to different implementation of the standardized Web Monetization API. For more information, please read <https://webmonetization.org/docs/probabilistic-rev-sharing>.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://prognovel.gitbook.io/fundme/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
