# Console Configuration

This is a simplified overview of our more detailed [console configuration](/purchasely/3.4/quick-start-1/console-configuration/installation.md#creating-a-new-app)

### Application

<figure><img src="/files/ADnSwxlJFMmPzrFXxrLm" alt=""><figcaption><p>Create a New Application</p></figcaption></figure>

The mandatory parameters are :

* **Name**: the name of the application as it will be displayed in the Purchasely Console
* **The default language**:  this will define which language shall be used when the language on a user device is not supported by the application. ⚠️ It can't be changed later

<figure><img src="/files/Ykr2TIWi3wTNLfxtYKwG" alt=""><figcaption><p>Store Configuration</p></figcaption></figure>

The next step is to plug your applications with the different stores you want to use.

### Apple App Store

By clicking on the Apple App Store tab in your App Settings you can do the 3 required steps for Apple configuration

1. App bundle id\ <img src="/files/EWvZzTwM86P754bJy55d" alt="" data-size="original">
2. Shared App Secret\
   ![](/files/SOVMmdJTjuam18wbRRom)![](/files/ZcCsCpvAeF1NoBAa9bGz)
3. Server to Server notifications\
   ![](/files/qoTHoC2cn1RYb85rlmzK)

### Google Play Console

By clicking on the Play Store tab in your App Settings you can do the 3 required steps for Google configuration

#### App Bundle Id ![](/files/ZMy4pVFf8RRelbx0hnvR)

#### Access Key

![](/files/dsOTguGQvh3OeM7FQksh)

Create a dedicated Service Account under [Google Cloud Platform Console](https://console.cloud.google.com/) [https://console.cloud.google.com](https://console.cloud.google.com/) \
*Google Cloud Platform > IAM & admin > Service Account > Create a new Service Account*

* Name your account `Purchasely` to be able to easily identify it later
* Give it the ID `purchasely`
* On the following screen, set the role to "Owner"
* On the following screen, create a key by clicking on the `+ Create a key` button
* Choose JSON format
* Fill the content of the field "Access key" with this json file

Grant the access to the Service Account under the [Google Play Console](https://play.google.com/console/u/0/developers/api-access)\
\&#xNAN;*Google Play Console> API Access > \[PURCHASELY SERVICE ACCOUNT] > Grant authorization*

**Complete those 3 steps**

1. Set "no expiration date"
2. **Tab: App permissions -** Select the application corresponding to the app bundle id\
   ![](/files/xSIv5R3LEluSjSdclxxQ)
3. **Tab: Account permissions -** Ensure the following permissions are selected :
   * [x] View app information and download bulk reports
   * [x] View financial data, orders, and cancellation survey responses
   * [x] Manage orders and subscriptions\
     ![](/files/yKSXVYJstvG2P9sxWuAc)<br>

{% hint style="warning" %}
Once you have completed all those steps, it can **take up from 30 minutes to 48 hours** to Google to activate those new permissions, specifically the 2nd step **App Permission** for the service account
{% endhint %}

#### Server to Server notifications

We connect to Google Cloud Pub/Sub automatically for you by using your service account access.\
All you need to do is click on "Connect to Google" and follow the steps

![](/files/ufCaYiN7LF56q6NqTkrK)


---

# 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://purchasely.gitbook.io/purchasely/3.4/quick-start/console-configuration.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.
