YetiForce API User Configuration
There's a time and place for everything, maybe not now.
This guide supposes that you have already followed the Setting Up Your Environment guide. If you haven't done so, please refer to the Setting Up Your Environment guide before proceeding.
Overview
Setting up API users in YetiForce involves two main steps:
- Creating a Web Service Application
- Creating a Web Service User
This guide will walk you through each step carefully, ensuring you have the correct credentials for API integration.
Prerequisites
- Access to YetiForce admin panel
- Administrative permissions
- Prepared application name and password
Step 1: Create Web Service Application
Accessing Web Services Configuration
- Log into YetiForce admin panel
- Click on the gear icon (gearbox) in the top right corner
- Navigate to "Integration" in the left sidebar
- Select "Web Services Applications"
Creating Application Credentials
- Click "Add Key" in the top right of the screen
- Enter an application name (will be referenced as
$APPLICATION_NAME$)- Choose a descriptive, memorable name
- Example:
MyPythonIntegrationorDataSyncApp
- Create a strong password (will be referenced as
$APPLICATION_PASSWORD$)- Use a combination of uppercase, lowercase, numbers, and symbols
- Avoid easily guessable passwords
- Enable the status checkbox
- Save the configuration
Password Security
- Use a unique, complex password
- Avoid reusing passwords from other systems
- Consider using a password manager to generate strong credentials
Step 2: Create Web Service User
Accessing Web Service Users
- Click on the top right menu
- Select "Web Service - Users"
- Click "Add Record" in the top left
Configuring User Details
-
Server Selection
- Choose the previously created application (
$APPLICATION_NAME$)
- Choose the previously created application (
-
User Status
- Set status to "Active"
-
Authentication
- Password: Enter
$APPLICATION_PASSWORD$ - Type: Select "Permissions Based on User"
- Permission Profile: Choose an admin profile
- Authentication Method: Select "Password"
- Language: Select "English"
- Password: Enter
-
Save the configuration
Step 3: Retrieve Additional Credentials
Capturing Required Information
- After saving, locate the new user entry in the list
- Copy the email address from the login column
- This will be referenced as
$DATABASE_USER_MAIL$
- This will be referenced as
Obtaining Application Key
- Click the top right green button (Webservice Application)
- Find the application with name
$APPLICATION_NAME$ - Click the copy button
- If no "copied" prompt appears, refresh the page (F5 or reload)
- The copied value is your
$APPLICATION_KEY$
Troubleshooting
- Ensure all steps are completed in order
- Double-check that the application and user are both active
- Verify credentials match exactly when implementing in your code
Credential Management
- Never share these credentials publicly
- Store them securely, preferably in environment variables
- Rotate credentials periodically for enhanced security
Next Steps
- Use the captured credentials (
$APPLICATION_NAME$,$APPLICATION_PASSWORD$,$DATABASE_USER_MAIL$,$APPLICATION_KEY$) in your Python integration code - Test API connectivity to confirm successful configuration