# AirBnB

How would you use CanCan features to build an app like AirBnB ?

To build an app like that you would need the following features:

* The ability to apply to become a host on your app
* The ability to book apartments on your app
* The ability to rate and/or review hosts/guests on your app
* The ability to take a percentage on hosts' revenue

## Becoming a host on your app

To become a host on your app, property owners can partner with your channel and then list their properties on their partner walls directly on your channel. You can read more about doing that on the page below:

{% content-ref url="/pages/uTs2dNOpQ5Kvl2hCVoWQ" %}
[Partnerships](/products/cancan/partnerships.md)
{% endcontent-ref %}

## Booking apartments on your app

To book an apartment on your app, users first find the apartment that's the best fit for them on your channel's main page under the **Items > partners** tab like in the image below and then click on it to go to its product's page.

<figure><img src="/files/m2qd9noSQpi3SZWSeSMA" alt=""><figcaption></figcaption></figure>

From there the apartment's product page, they can buy it directly, through the stake market or using a valuepool. You can find guides for each one of those cases on the pages below:

{% content-ref url="/pages/iPid7tG6sdCLf1V4683d" %}
[Buying Products/Services](/products/cancan/products-services/buying-products-services.md)
{% endcontent-ref %}

{% content-ref url="/pages/68BZSlsxVGoVi9p7z8kI" %}
[Buying Through The Stake Market](/products/cancan/products-services/buying-products-services/buying-through-the-stake-market.md)
{% endcontent-ref %}

{% content-ref url="/pages/xoSB7ulmZr3BaWXViMcO" %}
[Buying Through Valuepools/DAOs](/products/cancan/products-services/buying-products-services/buying-through-valuepools-daos.md)
{% endcontent-ref %}

## Rating and/or reviewing hosts/guests on your app

To rate a property, click on the property to go to its product page and enter your rating and review. You can read more about how to do that on the page below:

{% content-ref url="/pages/ybjyLCNwLopzlYffLzCb" %}
[Reviews](/products/cancan/reviews.md)
{% endcontent-ref %}

In case you are a host, you can also rate a guest by voting up/down his/her channel. You can read about how to do that on the page below:

{% content-ref url="/pages/Cs01Az7kgWpN5Dx4c8VG" %}
[Votes](/products/cancan/votes.md)
{% endcontent-ref %}

## Taking a percentage on hosts' revenues

When listing their properties on their partner walls, hosts will specify the percentage they are willing to give you off of each sale they make. In the image below, the user entered 10 in the referrer fee field meaning he/she will be giving you 10% on each sale.

<figure><img src="/files/Kdl5AvXSTbEWkKqkLd7y" alt=""><figcaption></figcaption></figure>

We can also see that the minimum fee allowed by the channel is 0%. You can change this parameter by following the guide on the page below under the **Updating The Minimum Partnership Fee** section

{% content-ref url="/pages/uTs2dNOpQ5Kvl2hCVoWQ" %}
[Partnerships](/products/cancan/partnerships.md)
{% endcontent-ref %}

You can read more about listing properties (products) on a partner's channel on the page above under the **Adding Items To Your Partner Wall** section


---

# 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://docs.payswap.org/use-cases/cancan/airbnb.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.
