---
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 :Nodinite: [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 :Nodinite: [Core Services][], so you never install it on its own: you describe the environment in the [Nodinite Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</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).

## :fa-sliders: 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.

## :fa-terminal: 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.

## :fa-circle-check: 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.

## :fa-hand-point-right: Next Steps

* :fa-rocket: [Install Nodinite v7][InstallNodiniteV7]  
* :fa-code: [Log using REST][]  
* :fa-shield-halved: [Protect the Log API with OAuth 2.0 and Entra ID][Protect Log API]  

## :fa-link-horizontal: Related Topics

* :fa-cloud-arrow-down: [Log API][]  
* :fa-clipboard-check: [Prerequisites][]  
* :fa-arrow-turn-up: [Update Log API][Update]  
* :fa-trash-can: [Uninstall Log API][Uninstall]  
* :fa-clipboard-question: [Troubleshooting][]  
* :fa-box-full: [Core Services][]  
* :fa-list-ol: [Install Nodinite v7 Steps][Install Steps]  

[Allocated Ports]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/06%20-%20Review%20and%20Download.md#allocated-ports
[CLI Troubleshooting]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/07%20-%20Install%20the%20Generated%20Package.md#troubleshooting
[ConfigDB]:{ndr}/Core%20Services/Configuration%20Database/Overview.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[IIS]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Overview.md
[Install Steps]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/Overview.md
[InstallNodiniteV7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7.md
[Log Agents]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Agent.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log using REST]:{ndr}/Core%20Services/Log%20API/Features/Log%20using%20REST.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[NodinitePortal]:https://portal.nodinite.com/
[Pickup Service]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Overview.md
[Portal Auth Log API]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/02%20-%20Auth.md#log-api
[Portal Auth Mode]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/02%20-%20Auth.md#auth-mode
[Portal Core Host TLS]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-host-tls
[Portal Core Platform Services]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-platform-services
[Portal Selected Server]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#selected-server
[Portal Service Account Defaults]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/02%20-%20Auth.md#service-account-defaults
[Portal SQL Server]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/03%20-%20Infrastructure.md#configure-sql-server-connectivity
[Prerequisites]:{ndr}/Core%20Services/Log%20API/Getting%20started/1.%20Prerequisites.md
[Protect Log API]:{ndr}/Core%20Services/Log%20API/Scenarios/Protect%20the%20Log%20API%20with%20OAuth%202.0%20and%20Entra%20ID.md
[Run the CLI]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/07%20-%20Install%20the%20Generated%20Package.md#recommended-workflow
[Troubleshooting]:{ndr}/Core%20Services/Log%20API/Troubleshooting/Overview.md
[Uninstall]:{ndr}/Core%20Services/Log%20API/Troubleshooting/Uninstall.md
[Update]:{ndr}/Core%20Services/Log%20API/Updating.md