Creating a shared mailbox
See https://learn.microsoft.com/en-us/microsoft-365/admin/email/create-a-shared-mailbox?view=o365-worldwide for more information on how to create a shared mailbox in Microsoft 365.
Using a shared mailbox for email processing
Setting a shared mailbox as an inbound message source