---
title: Agent Data Store Decision node
description: The Agent Data Store Decision node authenticates the agent using the data store for agent profiles and sets its authentication identifier if successful.
component: auth-node-ref
version: latest
page_id: auth-node-ref::agent-data-store-decision
canonical_url: https://docs.pingidentity.com/auth-node-ref/latest/agent-data-store-decision.html
keywords: ["Nodes &amp; Trees", "Journeys", "Agents", "Password", "Data Store"]
page_aliases: ["auth-node-agent-data-store-decision.adoc"]
superseded_by: https://docs.pingidentity.com/auth-node-ref/latest/agent-data-store-decision.html
section_ids:
  example: Example
  availability: Availability
  inputs: Inputs
  dependencies: Dependencies
  configuration: Configuration
  outputs: Outputs
  outcomes: Outcomes
  errors: Errors
---

# Agent Data Store Decision node

The Agent Data Store Decision node authenticates the agent using the data store for agent profiles and sets its authentication identifier if successful.

|   |                                                                                                                                                                         |
| - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | This node only authenticates agents, such as PingGateway and the Java and web agents.Use the [Data Store Decision node](data-store-decision.html) for other identities. |

## Example

The following example uses this node to authenticate an agent with the credentials provided:

![Journey to authenticate an agent](_images/agent-journey.png)

* The [Zero Page Login Collector node](zero-page-login-collector.html) collects the username and password from HTTP headers if provided.

* The [Page node](page.html) collects the username and password interactively from the user.

* The Agent Data Store Decision node verifies the agent credentials match those in the data store.

## Availability

| Product                               | Available? |
| ------------------------------------- | ---------- |
| PingOne Advanced Identity Cloud       | Yes        |
| PingAM (self-managed)                 | Yes        |
| Ping Identity Platform (self-managed) | Yes        |

## Inputs

This node requires the `username` and `password` properties in the incoming node state.

Obtain the agent credentials from the user or with a [Zero Page Login Collector node](zero-page-login-collector.html).

## Dependencies

This node depends on the underlying data store for agent profiles.

## Configuration

This node has no configurable properties.

## Outputs

This node copies the shared and transient states into the outgoing node state.

## Outcomes

* `True`

  The credentials match those found in the data store for agent profiles.

* `False`

  The credentials do *not* match those found in the data store for agent profiles.

## Errors

This node can log the following warnings:

* `Exception in data store decision node`

  The node couldn't connect to the data store, or another error occurred.

* `invalid password error`

  The password doesn't match.

* `invalid username error`

  The username doesn't match any profiles found in the data store.
