# Invoke the Taiki App

### What is the Taiki App?

The Taiki App offers a seamless tax form retrieval experience for both Android and iOS users. As an instant app on Android and an app clip on iOS, Taiki eliminates the need for traditional downloads. Users can access Taiki directly from a mobile or web application, allowing for immediate use without installation.

Once invoked, Taiki streamlines the process of gathering tax documents. Users simply log into their preferred platforms, and Taiki automatically collects all relevant tax forms from these sources. The app then efficiently transmits this compiled information to your specified web hook, ensuring secure and convenient delivery of tax data.

<div><figure><img src="https://560390414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZuT8LHdvxELNCKRVr3HZ%2Fuploads%2FexRjj7ipBnS40R9fc7EU%2F400x800bb%20(1).png?alt=media&#x26;token=33fcff5c-f36d-4c03-a874-7321a9e9811d" alt=""><figcaption></figcaption></figure> <figure><img src="https://560390414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZuT8LHdvxELNCKRVr3HZ%2Fuploads%2Fw0gfaaZKypsNv7JpnJT8%2F400x800bb%20(2).png?alt=media&#x26;token=93b52cb3-65c3-4cff-9ad6-43a607f2bb3b" alt=""><figcaption></figcaption></figure> <figure><img src="https://560390414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZuT8LHdvxELNCKRVr3HZ%2Fuploads%2F5k8zvkmf7H05qCrIix0J%2F400x800bb%20(3).png?alt=media&#x26;token=39a5695f-0008-450b-982a-992b48f6e78d" alt=""><figcaption></figcaption></figure></div>

## The Taiki modal can be invoked in two ways.&#x20;

1. Invoking from [#invoking-the-taiki-app-from-webapp](#invoking-the-taiki-app-from-webapp "mention")
2. Invoking from iOS and Android.&#x20;

All methods of invocation requires a JWT token (string) and a year (string). JWTToken is the token generated here ([initialize-jwt-token](https://taiki.gitbook.io/docs/detailed-references/initialize-jwt-token "mention")) and year is the tax form year you want your users to extract. (To file the tax report for 2023, year should be 2023)

## **Invoking the Taiki app from Webapp**

To support the Taiki App with your webapp, you can use our JS CDN library to generate a QR code that when scanned by the user, will open the Taiki app.

#### First import it in the html entry point of your frontend.

```html
<script src="https://Taiki JS CDN Link"></script>
```

#### Then invoke the QR code like so.&#x20;

```javascript
window.generateQRCode(JWTToken, year);
```

## **Invoking the Taiki app from IOS**

Below is an example of an IOS application that triggers the Taiki App Clip from your app.

```swift
let baseURL = "Taiki App Clip URL"
let queryParameters = [
    "jwt": "JWT token generated by /api/token",
    "year": "year"
]

let appClipURL = URL(string: baseURL)?.appendingQueryParameters(queryParameters)

Link("Connect with Taiki", destination: appClipURL ?? URL(string: baseURL)!)
    .foregroundStyle(Color.white)
```

## **Invoking the Taiki app from Android**

Coming soon!
