How to plug in confluence pages to my agent as source of data?

I need to connect my organisation confluence pages to the agent I am trying to build. There are more than 100 sub pages in the portal and I want to connect it with my agent so it can respond to any request that matches from there.
Where can this be configured? Do we need to input each page as different source? That way it is not scalable.
I found indexes to be one way but each index consumes a LLM call which means each time a request is made there is lot of AI units consumed.
Looking for suggestions and ideas.

Hi!

You would have to start with connecting to your confluence via the Confluence Cloud connector in Integration Service.
Integration Service - About the Confluence Cloud connector

Your concern about scalability is valid, you could try aggregating the content you’re fetching from Confluence in some manner.
Activities - Get Content
Activities - Search Content

You could explore this as well:
The Confluence Cloud REST API

Once you’ve fetched all your pages and structured them in some way into a single document you could supply this as a single source for your agent.

Now your problem will be updating your source when the content changes.
You can use “Events” in your the Confluence Cloud connector to trigger the process above
Integration Service - Confluence Cloud events