Documentation Index
Fetch the complete documentation index at: https://docs.elitea.ai/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
Purpose of this Guide
This guide is your definitive resource for integrating and utilizing the Google Places toolkit within ELITEA. It provides a step-by-step walkthrough, from setting up your Google API key to configuring the toolkit in ELITEA and effectively using it within your Agents. By following this guide, you will unlock the power of automated location-based information, streamlined workflows, and enhanced user experiences, all directly within the ELITEA platform. This integration empowers you to leverage AI-driven automation to optimize your location-aware applications using the combined strengths of ELITEA and Google Places.Brief Overview of Google Places
Google Places is a powerful location-based service provided by Google that allows applications to access and display information about businesses, landmarks, and points of interest. It offers comprehensive details, including business names, addresses, contact information, user reviews, ratings, and real-time data such as open hours and busy periods. Itβs designed for applications that need location-based services, and offers features for:- Finding Places: Search for businesses, points of interest, and other locations based on name, keywords, or geographical coordinates.
- Detailed Place Information: Retrieve rich information about places, including address, phone number, website, opening hours, user reviews, and photos.
- Nearby Searches: Find places that are located within a specified radius of a given location.
- Autocomplete Suggestions: Provide users with intelligent location suggestions as they type.
Google Places API Setup and Configuration
Account Setup
If you donβt have a Google Cloud account with the Places API enabled yet, hereβs how to get started:- Go to Google Cloud Console: Open your web browser and navigate to console.cloud.google.com.
- Sign In or Create an Account: Sign in with your existing Google account, or create a new one if needed.
- Create a Project (if needed): If you donβt have an existing project, create a new one. Click on the project dropdown at the top, and select βNew Projectβ. Give your project a name and click βCreateβ.



- Enable the Places API: Once your project is created/selected, navigate to the βAPIs & Servicesβ dashboard.




API Key Generation: Creating an API Key in Google Cloud
For secure integration with ELITEA, you need a Google Places API key. This key authorizes ELITEA to access the Google Places API on your behalf. Follow these steps to create an API key:- Go to API Credentials: In the Google Cloud Console, go to βAPIs & Servicesβ and then βCredentialsβ.

- Create Credentials: Click on β+ CREATE CREDENTIALSβ and select βAPI keyβ.

- Restrict the API key (Important): After the API key is generated, immediately restrict it to improve security. Click on βRestrict keyβ.
- Restrict Key Usage: Under βAPI restrictionsβ, select βRestrict keyβ and choose the βPlaces APIβ. This ensures the key can only be used for the Places API.
- Save Changes: Click βSaveβ to apply the restrictions.
- Securely Store Your API Key: Immediately copy the generated API Key. Store it securely using a password manager or ELITEAβs built-in Secrets feature (recommended for enhanced security within ELITEA). You will need this API key to configure the Google Places toolkit in ELITEA.

Google Places Integration with ELITEA
Agent Creation/Configuration
To integrate Google Places, youβll need to configure it within an ELITEA Agent. You can either create a new Agent or modify an existing one.- Navigate to Agents: In ELITEA, go to the Agents menu.
- Create or Edit Agent:
- New Agent: Click β+ Agentβ to create a new Agent. Follow the steps to define Agent details like name, description, type, and instructions.
- Existing Agent: Select the Agent you want to integrate with Google Places and click on its name to edit.
- Access Tools Section: In the Agent configuration, scroll down to the βToolsβ section.
Toolkit Configuration
This section details how to configure the Google Places toolkit within your ELITEA Agent.- Add Toolkit: In the βToolsβ section, click the β+β icon.
- Select Google Places: Choose βGoogle Placesβ from the dropdown list of available toolkits. This opens the βNew Google Places toolβ configuration panel.
-
Configure Toolkit Details: Fill in the following fields:
- Name: Enter a Name for this Google Places toolkit instance. Choose a descriptive name that helps you identify its purpose within your Agentβs instructions (e.g., βLocationFinderβ, βPlacesAPIβ).
- Description: Provide a Description for the toolkit, clarifying its purpose or the specific type of location information it will access (e.g., βToolkit to find nearby restaurantsβ).
- Results number (to show): Specify the number of results to return from the Google Places API.
- Api Key:
- Paste the API Key you generated in Google Cloud into the βApi Keyβ field.
- Enhanced Security with Secrets: For improved security, itβs highly recommended to use βSecretβ. Select βSecretβ and choose a pre-configured secret from the dropdown. You must first create and securely store your API Key as a Secret in ELITEAβs Secrets feature. Using Secrets prevents hardcoding sensitive credentials directly in the toolkit configuration.

-
Enable Tools: In the βToolsβ section of the Google Places toolkit configuration, select the checkboxes next to the Google Places tools you want to enable for your Agent. Enable only the tools your Agent will actually use to adhere to the principle of least privilege and enhance security. Available tools are:
- Find places:
find_places- Allows the Agent to find places based on a search query. - Find near:
find_near- Enables the Agent to find places near a specified location.
- Find places:
- Complete Configuration: Click the arrow icon (at the top right of the toolkit configuration) to save the Google Places toolkit setup and return to the main Agent configuration.
- Click Save to apply configuration and changes.
Tool Overview
The Google Places toolkit provides the following tools for your ELITEA Agents:- Find places:
find_places- Finds places based on a search query. - Find near:
find_near- Finds places near a specified location.
Instructions and Prompts for Using the Toolkit
To instruct your ELITEA Agent to use the Google Places toolkit, you need to provide clear instructions within the Agentβs βInstructionsβ field. These instructions guide the Agent on when and how to use the available tools.Instruction Creation for OpenAI Agents
When creating instructions for the Google Places toolkit for OpenAI-based Agents, focus on clear, action-oriented language. Break down tasks into simple steps and explicitly state the parameters required for each tool. OpenAI Agents respond best to instructions that are:- Direct and Imperative: Use action verbs and clear commands (e.g., βUse the βfind_placesβ toolβ¦β, βFind places nearβ¦β).
- Parameter-Focused: Clearly list each parameter and how the Agent should determine its value.
- Context-Aware: Provide enough context so the Agent understands the overall goal and when to use specific tools within a workflow.
-
Agent Instructions for Finding Places:
-
Agent Instructions for Finding Places Near a Location:
Conversation Starters
Use these conversation starters to interact with your Google Places-integrated Agent. 1. For Testing and Troubleshooting Connection: These starters are designed to verify if the Google Places toolkit is correctly configured and connected to the Google Places API.- βFind Italian restaurants in Rome.β - This tests basic connectivity and ability to find places.
- βFind coffee shops near the Eiffel Tower in Paris.β - This further tests the βfind nearβ functionality and location-based searching.
- βIβm looking for a good pizza place near me. Can you find some options?β - This triggers a
find_nearsearch based on the userβs implied location (which the Agent would need to determine or ask for). - βFind the opening hours for the Louvre Museum in Paris.β - This would require a combination of
find_placesto locate the Louvre and then potentially another call to retrieve details (if the toolkit was expanded to support that). - βWhat are some popular tourist attractions in Tokyo?β - This could use the
find_placestool with a general query.
Use Cases
The Google Places toolkit unlocks numerous automation possibilities for location-aware applications and workflows within ELITEA. Here are some key use cases, demonstrating how each tool can be applied:-
Automated Restaurant Recommendation:
- Scenario: A user asks for a restaurant recommendation near their current location.
- Tools Used:
find_near - Example Instruction: βIf the user asks for a restaurant recommendation near their location, use the βfind_nearβ tool with their location and the query βrestaurantsβ.β
- Benefit: Provides personalized recommendations based on proximity.
-
Travel Planning Assistance:
- Scenario: An Agent assists a user in planning a trip by finding points of interest in a specific city.
- Tools Used:
find_places - Example Instruction: βIf the user is planning a trip to Rome, use the βfind_placesβ tool with the location βRomeβ and the query βtourist attractionsβ.β
- Benefit: Streamlines travel planning with automated location discovery.
-
Real-time Location-Based Alerts:
- Scenario: The Agent can send alerts when a user is near a specific type of place.
- Tools Used:
find_near - Example Instruction: βUse the βfind_nearβ tool to check if the user is near a Starbucks. If a Starbucks is found within 500 meters, send an alert.β
- Benefit: Enables timely and relevant notifications based on location.
-
Enhanced Customer Support:
- Scenario: The Agent can help customers find the nearest branch of a store or service provider.
- Tools Used:
find_near,find_places - Example Instruction: βIf a customer asks for the nearest branch of βXYZ Bankβ, use the βfind_nearβ tool with the customerβs location and the query βXYZ Bankβ.β
- Benefit: Improves customer service with quick and accurate location information.
Troubleshooting and Support
Troubleshooting
-
Connection Issues:
- Problem: Agent fails to connect to Google Places API, resulting in errors during toolkit execution.
- Troubleshooting Steps:
- Verify API Key: Ensure the API Key is correctly entered.
- API Restrictions: Review the API Key restrictions in Google Cloud Console. Ensure the βPlaces APIβ is selected under API restrictions.
-
Authorization Errors (Permission Denied):
- Problem: Agent receives βPermission Deniedβ or βUnauthorizedβ errors when accessing the Google Places API.
- Troubleshooting Steps:
- API Key Restrictions: Re-verify the API Key restrictions. Ensure the βPlaces APIβ is selected. Check for any IP address restrictions that might be blocking ELITEA.
- API Enabled: Double-check that the Places API is enabled in your Google Cloud project.
-
No Results Found:
- Problem: Agent returns no results for a search query.
- Troubleshooting Steps:
- Query Accuracy: Check the accuracy of the search query. Ensure it is specific enough to find the desired places.
- API Usage Limits: Check your Google Cloud Console for any API usage limits that may have been reached.
Support Contact
For any issues, questions, or further assistance with the Google Places integration or ELITEA Agents, please reach out to our dedicated ELITEA Support Team. We are committed to providing prompt and effective support to ensure your success with ELITEA. Contact ELITEA Support:- Email: SupportAlita@epam.com
- ELITEA Environment: Clearly specify the ELITEA environment you are using (e.g., βNextβ or the specific name of your ELITEA instance).
- Project Details: Indicate the Project Name and whether you are working in your Private workspace or a Team project.
- Detailed Issue Description: Provide a clear, concise, and detailed description of the problem you are encountering. Explain what you were trying to do, what you expected to happen, and what actually occurred.
- Relevant Configuration Information: To help us diagnose the issue, please include relevant configuration details, such as:
- Agent Instructions (Screenshot or Text): If the issue is with an Agent, provide a screenshot or copy the text of your Agentβs βInstructionsβ field.
- Toolkit Configurations (Screenshots): If the issue involves the Google Places toolkit or other toolkits, include screenshots of the toolkit configuration settings within your Agent.
- Error Messages (Full Error Text): If you are encountering an error message, please provide the complete error text. In the Chat window, expand the error details and copy the full error message. This detailed error information is crucial for diagnosis.
- Your Query/Prompt (Exact Text): If the issue is related to Agent execution, provide the exact query or prompt you used to trigger the issue.