Setup
How do I add a chat widget to my car rental website?
Adding a chat widget to your car rental site is straightforward with Chatref. Sign up for an account, train an AI agent on your rental documents such as policies, vehicle guides, and FAQs, then copy a small embed snippet into your website’s HTML. Visitors can instantly ask questions and get accurate, document-grounded answers from the widget.
Step 1: Prepare Your Chatref Agent
Before you embed the widget, you need an agent that knows your rental business.
- Create an account at app.chatref.ai - new users get $50 in free credit, no credit card needed.
- Upload the content your agent should learn from. For a car rental site, that might include:
- Rental terms and conditions
- Insurance and age policies
- Vehicle descriptions and availability
- FAQ pages and pricing guides
- Chatref uses your documents to build a retrieval-augmented agent. The agent will answer questions based solely on that content - no guessing, no internet searches.
Test the agent in the live playground to make sure it responds correctly. Tweak your uploaded documents if something is missing, then re-train.
Step 2: Grab the Embed Snippet
Once your agent is ready, you get a short code snippet that adds the chat widget to any page.
- In your Chatref dashboard, navigate to the Website Widget settings for the agent.
- Copy the snippet. It is a small
<script>tag, usually under 10 lines. - You can also customize the widget’s look: set your primary brand color, a welcome message, and even the agent’s name to match your rental company’s personality.
No developer skills are required. The snippet follows standard embed conventions and works on most site builders, including WordPress, Squarespace, Wix, and custom HTML templates.
Step 3: Add the Widget to Your Car Rental Website
Now paste the snippet into your website’s code. The exact placement depends on your platform:
- Custom HTML sites: Paste the snippet just before the closing
</body>tag on every page where you want the widget to appear. - WordPress: Use a header/footer plugin, or add it to your theme’s
footer.phpfile. - Shopify or other hosted builders: Most have a “custom code” or “tracking code” section in their settings. Paste the snippet there.
After saving, load your website and look for the chat bubble icon. If you don’t see it right away, double-check that the agent is active and the snippet is placed outside of any iframes. Chatref’s widget is origin-allowlisted, so make sure your website domain matches what you entered in the dashboard.
Let Your AI Agent Handle Common Car Rental Questions
Once the widget is live, your agent works around the clock.
- Instant, grounded answers: Visitors can ask about what documents they need to rent, insurance options, cancellation policies, and vehicle availability - all answered from your own policies.
- Custom actions: The agent can do more than answer text. With custom actions, you can configure it to collect booking details like pickup dates and locations, then either hand off to a human or trigger your booking system. For example, a user might say “I want a mid-size SUV in Miami for next Friday,” and the agent can capture those details and send an email to your reservations team.
- Human takeover: If a question escalates, a team member can jump into the shared inbox and take over the conversation in real time, with full context.
This helps you deflect repeat inquiries, capture leads, and reduce phone calls without hiring extra support staff.
FAQ
What steps are needed to add a chat widget?
- Sign up for Chatref and get free credit. 2. Upload your rental policies, FAQs, and vehicle info so the AI agent learns your business. 3. Copy the embed snippet from the Website Widget section. 4. Paste the snippet into your site’s HTML (usually near the closing
</body>tag). 5. Test and go live.
How do I embed the widget in my website?
After training your agent, go to the Website Widget settings in your Chatref dashboard and copy the <script> snippet. Paste it just before the </body> tag on each page where you want the widget to show. Most website builders (WordPress, Shopify, Wix) have a field for custom code; you can paste it there as well. The widget will immediately appear as a chat bubble once the snippet is live.
Can AI agents handle chats from the widget? Yes. The Chatref agent answers directly from your uploaded documents, so it can resolve questions about rental policies, vehicle specs, and booking procedures without human involvement. You can also set up custom actions to let the agent collect details like preferred dates and vehicle types, then hand off to a human or a booking system when needed. If a question requires human judgment, the shared inbox lets your team step in seamlessly.
Put this into practice
Chatref answers your customers from your own content, day and night. Add it to your site and go live in minutes – free to start.