How to find the Server UI's UUIDs to connect a vFunction Agent to the vFunction Server
Overview
The vFunction Dynamic Agent and Static Agent use Tokens in API calls to the vFunction Server when sending requests to the Server. Before a Token can be created, the vFunction Server verifies the authenticity of the Dynamic Agent or Static Agent. During the Dynamic Agent or Static Agent installation process, the Agent sends details to the vFunction Server for verification. These details can be:
- The first-user vFunction Server Admin’s username and password
- A set of UUIDs generated in the vFunction Server UI after the application has been created in the UI
This article walks through the process of gathering the set of UUIDs generated in the vFunction Server UI
Steps to find UUIDs in Monolithic Applications
Take the following steps to find the UUIDs for a Monolithic Application:
- Log into the vFunction Server UI from a browser
- Create the Application (if it has not already been created) or select the desired Application
- Click on the vFunction logo in the top, left corner of the UI or on the Application name next to the logo
- In the dropdown menu, select the relevant Application or select Add Application
- If adding an Application, toggle the Application Type to Monolithic
- If adding an Application, input the Application Name in the text box, select the programming language in Application Technology, and input the Namespace for the Application in Classes to Include. Then click the blue Create button
- In the top, center menu bar, select Learning
- On the left-hand sidebar, select Select Controllers. Note that you may need to scroll down the left-hand sidebar to see this option

- On the left-hand sidebar, select Install Controller

- In the center dialog box, search for or scroll to “Fill in the template with the following shared secrets”
- Copy the UUIDs in the code block to be used in the Dynamic Agent or Static Agent’s installation.yaml

Steps to find UUIDs in Distributed Applications
Take the following steps to find the UUIDs for a Distributed Application:
- Log into the vFunction Server UI from a browser
- Create the Application (if it has not already been created) or select the desired Application
- Click on the vFunction logo in the top, left corner of the UI or on the Application name next to the logo
- In the dropdown menu, select the relevant Application or select Add Application
- If adding an Application, toggle the Application Type to Distributed
- If adding an Application, input the Application Name in the text box. Then click the blue Create button
- In the top, center menu bar, select Learning
- On the left-hand sidebar, select Installation Instructions. Note that you may need to scroll down the left-hand sidebar to see this option

- In the center dialog box, search for or scroll to “Add the following”
- Copy the UUID in the code block to be used in the OpenTelemetry installation
