# getAppId

Learn how to get the application ID.

This method provides the ID of the application the SDK is connected to.

## Signature

This method has the following signature:

```php
public function getAppId(): string
```

This method returns the application ID as a string.

## Example

Here is a basic example of how to use this method:

```php
<?php
use Croct\Plug\Croct;

$croct = Croct::fromDotenv();
$appId = $croct->getAppId();
```
