# Using in your own mobile app

It is possible to use SharinPix both in the **online** and **offline** experience.

* [Online usage](#online-usage)
* [Offline usage](#offline-usage)

## Online usage

Throughout the online experience, which evidently requires a constant and consistent internet connectivity, one approach arise:

* [SharinPix inside Webform](#sharinpix-inside-webform)

### SharinPix inside Webform

* It is possible to use an **Iframe** html element that displays the SharinPix Album within an web form Page.
* The SharinPix URL fed to the **src** attribute of the Iframe element should have the following structure:

```
https://app.sharinpix.com/pagelayout/album_id?token=token_value
```

where,

* **album\_id** corresponds to the album you intend to display
* **token\_value** corresponds to the abilities of the SharinPix Album

The screenshot below shows how the album should appear:

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2FSU4euIZJPrRQetg01HIR%2Fimage%20\(20\).png?alt=media\&token=60d27c6c-4c58-4305-91b5-5ca8eaaaa356)

## Offline usage

{% hint style="warning" %}
**Note:** To use SharinPix in an offline context, it is mandatory to use the **SharinPix mobile application.**
{% endhint %}

Throughout the offline experience, which in this case presents an absence of internet connectivity, one main main approach to use SharinPix arise:

* Use a custom deeplink to launch the SharinPix Mobile Application from your own Mobile Application.
* For example, the custom deeplink for upoading images should be in the follow form:

```
sharinpix://upload?token=token_value
```

where,

* **token\_value** corresponds to the abilities of the SharinPix Album where the images are to be uploaded to.
