# How to make installation folder for per customer on Jira Cloud?

**URL:** <https://community.developer.atlassian.com/t/how-to-make-installation-folder-for-per-customer-on-jira-cloud/18732>\
**Category:** Jira Cloud\
**Tags:** php, jwt, jira-cloud\
**Created:** [May 20, 2018, 2:50pm UTC](https://community.developer.atlassian.com/t/how-to-make-installation-folder-for-per-customer-on-jira-cloud/18732 "2018-05-20T14:50:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matti.kiviharju](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/matti.kiviharju/32/49665_2.png) [@matti.kiviharju](https://community.developer.atlassian.com/u/matti.kiviharju)\
**Post date:** [May 20, 2018, 2:50pm UTC](https://community.developer.atlassian.com/t/how-to-make-installation-folder-for-per-customer-on-jira-cloud/18732/1 "2018-05-20T14:50:22Z")

</div>

How to make installation folder for per customer on Jira Cloud?

Here is the code:

```auto
<?php 
# Saves 1st POST body to $file.
# Currently on apache $file needs to exist, be empty and:
# permissions: rw
# owner: www-data

$file = "./installed.txt";
if (! filesize($file))
	file_put_contents($file, file_get_contents('php://input'));
?>

```

This code makes a JWT data for only single file but not for multiple customer installs for my Jira Cloud App.

---

<div class="post-metadata">

**Author:** ![mikroegy1](https://avatars.discourse-cdn.com/v4/letter/m/c5a1d2/32.png) [@mikroegy1](https://community.developer.atlassian.com/u/mikroegy1)\
**Post date:** [May 23, 2018, 5:34pm UTC](https://community.developer.atlassian.com/t/how-to-make-installation-folder-for-per-customer-on-jira-cloud/18732/2 "2018-05-23T17:34:53Z")

</div>

@admin ,…
