> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-style-guide-models-runs-20260604-113608.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I log runs launched by continuous integration or internal tools?

To launch automated tests or internal tools that log to W\&B, create a **Service Account** on the team settings page. This action lets you use a service API key for automated jobs, including jobs that run through continuous integration. To attribute service account jobs to a specific user, set the `WANDB_USERNAME` or `WANDB_USER_EMAIL` environment variable.

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541-style-guide-models-runs-20260604-113608/mKqtgtuWRbdgi0HI/images/track/common_questions_automate_runs.png?fit=max&auto=format&n=mKqtgtuWRbdgi0HI&q=85&s=a5b0f0bc48ce06c9e364d2323e75cd42" alt="Team settings page showing the Service Accounts section where you can create a service account for automated jobs." width="1564" height="408" data-path="images/track/common_questions_automate_runs.png" />
</Frame>

***

<Badge stroke shape="pill" color="orange" size="md">[Runs](/support/models/tags/runs)</Badge><Badge stroke shape="pill" color="orange" size="md">[Logs](/support/models/tags/logs)</Badge>
