% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api.R
\name{glint_setup}
\alias{glint_setup}
\title{Configure Viva Glint API credentials}
\usage{
glint_setup(
  tenant_id,
  client_id,
  client_secret,
  experience_name,
  save_to_renviron = FALSE
)
}
\arguments{
\item{tenant_id}{Azure AD tenant ID}

\item{client_id}{Azure AD app (client) ID}

\item{client_secret}{Azure AD app client secret}

\item{experience_name}{Viva Glint experience name (e.g., "contoso@demo")}

\item{save_to_renviron}{Logical; if TRUE, append values to ~/.Renviron}
}
\value{
Invisibly returns TRUE after saving credentials
}
\description{
Stores Viva Glint API credentials in environment variables for the current
R session. Optionally writes the values to ~/.Renviron for persistence.
}
\details{
Required environment variables:
\itemize{
\item GLINT_TENANT_ID
\item GLINT_CLIENT_ID
\item GLINT_CLIENT_SECRET
\item GLINT_EXPERIENCE_NAME
}
}
\examples{
\dontrun{
glint_setup(
  tenant_id = "your-tenant-id",
  client_id = "your-client-id",
  client_secret = "your-client-secret",
  experience_name = "your-experience-name",
  save_to_renviron = TRUE
)
}
}
