Please advise me what mipsdk-samples-component-main can be used for this integration.
The recommendation is that you send an AnalyticsEvent, users can then setup an Alarm Definition, so that the event you send is the trigger for the alarm. Please explore the Analytics Event Trigger via library sample:
https://github.com/milestonesys
For bookmarks we have the Bookmark Creator sample:
Perhaps you would find it interesting for an overview of the most useful samples.. https://developer.milestonesys.com/s/article/exploring-the-MIP-SDK-recommended-top-SDK-samples
Is it necessary to configure an analytics event in our XProtect Management Client in order to transmit alarms from our Analytics application to the Event Server?
No, but it is the recommended way to send an event.
You can send an alarm directly without analytics events and alarm definition. Note however this will leave administrators and users unable to configure anything.
E.G. an administrator can add instructions in an alarm definition, the administrator can temporarily disable an alarm definition, etc.
If you look at the Library Event Generator sample this one can send as event and as alarm..