---
title: Install the Nodinite Log API – Portal Settings, CLI, and Verification
description: Install the Nodinite v7 Log API as part of Core Services. See what you set for the Log API in the Nodinite Portal, what the installation CLI does, and how to verify the Log API afterwards.
---

# Install Nodinite Log API

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log API][] is the REST endpoint that receives [Log Events][Log Event] from [Log Agents][], the [Pickup Service][], and your own code. It ships with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Core Services][], so you never install it on its own: you describe the environment in the [Nodinite Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, download one ZIP, and run the generated CLI package. The full procedure is [Install Nodinite v7][InstallNodiniteV7]; this page lists what matters for the Log API.

Before you start, review the Log API [Prerequisites][] (SQL Server rights, firewall).

## <i class="fal fa-sliders" aria-hidden="true"></i> What You Set for the Log API in the Portal

| Setting | Where in the Portal | Notes |
| --- | --- | --- |
| Server that hosts the Core Services | [Step 4: Servers › Selected server][Portal Selected Server] | One server per environment hosts the Log API with the other Core Services |
| Log API port | [Step 4: Servers › Core platform services][Portal Core Platform Services] | The Log API is its own [IIS][] web site on this port. Log Agents and the Pickup Service use it in the base URL `https://{host}:{port}/LogAPI/` |
| Service account (identity) | [Step 4: Servers › Core platform services][Portal Core Platform Services] | **Same account for all Services**, or a separate account for the Log API. The Log API connects to SQL Server as this account. Defaults come from [Step 2: Auth › Service Account Defaults][Portal Service Account Defaults] |
| TLS host name and certificate | [Step 4: Servers › Core host Configuration][Portal Core Host TLS] | The FQDN, and the certificate subject the installer uses to find the certificate for the HTTPS binding |
| Authentication mode | [Step 2: Auth › Auth Mode][Portal Auth Mode] | Windows authentication or OAuth 2.0 / OIDC for the environment |
| **Enable Authentication** and **Audiences** (OAuth 2.0 only) | [Step 2: Auth › Log API][Portal Auth Log API] | Off by default: the Log API accepts Log Events anonymously. When checked, every call needs a bearer token; see [Protect the Log API with OAuth 2.0 and Entra ID][Protect Log API] |
| SQL Server and connection string | [Step 3: Infrastructure][Portal SQL Server] | The Log API writes to the [Configuration Database][ConfigDB] and the active [Log Database][Log Databases] |

Check the ports in [Step 6: Review and Download › Allocated ports][Allocated Ports] before you download the ZIP.

## <i class="fal fa-terminal" aria-hidden="true"></i> What the CLI Does for the Log API

When you [run the generated package][Run the CLI] (validate, dry-run, then `deploy-environment`) in an elevated PowerShell 7 prompt, the CLI:

* Creates or updates the Log API IIS web site and application pool, with the port, identity, and HTTPS binding from the Portal.
* Writes the Log API settings, including the authentication values, from the generated configuration. Don't edit them by hand; change them in the Portal and redeploy.
* Deploys the [Configuration Database][ConfigDB] that the Log API reads its settings from.

## <i class="fal fa-circle-check" aria-hidden="true"></i> Verify the Log API

1. In IIS Manager, check that the Log API web site is started.
2. Open Scalar at `https://{host}:{port}/scalar`, for example `https://nodinite.contoso.com:40002/scalar`. It lists the Information and LogEvent operations.
3. Send a test Log Event to `https://{host}:{port}/LogAPI/api/LogEvent/Validate`. A `200` or `400` response means the Log API is running; `400` only means the test payload is invalid. A `401` means **Enable Authentication** is on and the call has no valid token.
4. Point a [Log Agent][Log Agents] or the [Pickup Service][] at the base URL `https://{host}:{port}/LogAPI/`, and confirm that its Log Events show up in a [Log View][Log Views].

For the URL formats and code samples, see [Log using REST][]. If the installation itself fails, see the [CLI troubleshooting][CLI Troubleshooting] section.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-rocket" aria-hidden="true"></i> [Install Nodinite v7][InstallNodiniteV7]  
* <i class="fal fa-code" aria-hidden="true"></i> [Log using REST][]  
* <i class="fal fa-shield-halved" aria-hidden="true"></i> [Protect the Log API with OAuth 2.0 and Entra ID][Protect Log API]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-cloud-arrow-down" aria-hidden="true"></i> [Log API][]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][]  
* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Update Log API][Update]  
* <i class="fal fa-trash-can" aria-hidden="true"></i> [Uninstall Log API][Uninstall]  
* <i class="fal fa-clipboard-question" aria-hidden="true"></i> [Troubleshooting][]  
* <i class="fal fa-box-full" aria-hidden="true"></i> [Core Services][]  
* <i class="fal fa-list-ol" aria-hidden="true"></i> [Install Nodinite v7 Steps][Install Steps]  

[Allocated Ports]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/06-review-and-download/#allocated-ports
[CLI Troubleshooting]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/#troubleshooting
[ConfigDB]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[Install Steps]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/overview/
[InstallNodiniteV7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log using REST]:https://docs.nodinite.com/core-services/log-api/features/log-using-rest/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[NodinitePortal]:https://portal.nodinite.com/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Portal Auth Log API]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/#log-api
[Portal Auth Mode]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/#auth-mode
[Portal Core Host TLS]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-host-tls
[Portal Core Platform Services]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Portal Selected Server]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#selected-server
[Portal Service Account Defaults]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/#service-account-defaults
[Portal SQL Server]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/03-infrastructure/#configure-sql-server-connectivity
[Prerequisites]:https://docs.nodinite.com/core-services/log-api/getting-started/prerequisites/
[Protect Log API]:https://docs.nodinite.com/core-services/log-api/scenarios/protect-the-log-api-with-oauth-2-0-and-entra-id/
[Run the CLI]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/#recommended-workflow
[Troubleshooting]:https://docs.nodinite.com/core-services/log-api/troubleshooting/overview/
[Uninstall]:https://docs.nodinite.com/core-services/log-api/troubleshooting/uninstall/
[Update]:https://docs.nodinite.com/core-services/log-api/updating/