# Billing Connector FOCUS

1. On the Billing Connector main screen, in the "**Billing Connector FOCUS**" tab:

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2F802fLpMUEZWNsIkhRF5R%2Fimage.png?alt=media&#x26;token=bd482c64-a965-4a73-9e99-c910a5f1b339" alt=""><figcaption></figcaption></figure>

2. The system allows you to add a new Billing connector by clicking on the "**Add Connector**" option:

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FmanZGIXUMoubliQ3hm74%2Fimage.png?alt=media&#x26;token=31df64be-e50f-4a73-9de3-19ce946e5f81" alt=""><figcaption></figcaption></figure>

3. The screen for registering new Connectors will be displayed, where you will need to enter the following information:

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FNfA1jKZZB1qT3yU2M724%2Fimage.png?alt=media&#x26;token=5465752a-a14a-438d-9d4f-cae73deab93a" alt=""><figcaption></figcaption></figure>

* **Tipo**: The system will come with the **Focus** option selected.
* **Cloud Provider**: Select the data source that we will connect to the platform.

#### For the FOCUS connector type, Pier Cloud offers some billing options to connect the platform, including: AWS, Azure, GCP, OCI.

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FQTjZAJylZp9pHBZi5C3W%2Fimage.png?alt=media&#x26;token=3f9bfd8a-aebb-4fec-b28f-100da4536942" alt=""><figcaption></figcaption></figure>

Depending on the selected Cloud provider, the following fields may vary:

**When selecting the AWS provider, you will be asked for the following information:**

* **Billing Connector Identification**: Enter the name that identifies the billing connector
* **AWS Account ID**: Account identification number that contains your AWS Billing information
* **Data source for daily query:**
  * Name of the s3 Bucket that contains the billing data information
  * Path containing the billing data: Inform the Path that contains the billing data inside the AWS s3 bucket
  * Type of file in bucket: Enter the type of file stored in the s3 bucket.

***

**When selecting the Azure provider, you will be asked for the following information:**

* **Billing Connector Identification**: Enter the name that identifies the billing connector
* **Select the secret for this billing connector**: We will use this secret to connect with the Azure environment and view the Billing data
* **Region**: Select Azure region (Default or China)
* **Data source for daily query:**
  * Name of the storare that contains the billing data information
  * Path containing the billing data: Inform the Path that contains the billing data inside the storage

***

**When selecting the GCP provider, you will be asked for the following information:**

* **Billing Connector Identification**: Enter the name that identifies the billing connector
* **Select the secret for this billing connector**: We will use this secret to connect with the GCP environment and view Billing data
* **GCP Account ID**: Account identification number that contains Billing information in GCP.
* **Origin of information in GCP BigQuery**
  * **GCP Project ID**: Inform the Project that we can find Billing information in BigQuery
  * **Region**: Enter the region where we can find Billing information
  * **BigQuery dataset name**: Enter the name of the dataset where we can find Billing information in BigQuery
* **BigQuery result destination in CloudStorage**
  * **GCP Project ID**: Inform the Project that the BigQuery results will be directed to CloudStorage
  * **Region**: Enter the region where we can find Billing information
  * **BigQuery dataset name**: Enter the name of the dataset where we can find Billing information in BigQuery
  * **Bucket name in CloudStorage**: Enter the name of the bucket where we can find the information generated by BigQuery in CloudStorage

***

**When selecting the OCI provider, you will be asked for the following information:**

* **Billing Connector Identification**: Enter the name that identifies the billing connector
* **Select the secret for this billing connector**: We will use this secret to connect with the OCI environment and view the Billing data

{% hint style="info" %}
To connect to **AWS** billing, we need the **Pier247 IAM Role** to be installed in your AWS account. For other Cloud providers (**Azure, GCP and OCI**) we need credentials with access to the respective provider's data. If you need help, contact the Pier Cloud team.
{% endhint %}

4. Finally, after filling in all the requested information, clicking on the **Save** button, the system will return to the Billing Connector main screen, where it will be possible to view the connected Billing.
