Follow these steps to setup announcements on your member portal. After you have copied the code below into your home page for the member portal, follow these steps:
Login to Control Panel
Go to Connect > Notifications > On Page Notifications
Create a New On Page Notification
Enter the title and description to display to your users
Set "Where should we display this" to General Use
Set "Enter a Key" to member-portal (this should reflect the key used in your announcements).
Use this sample code on your site or drag and drop the Announcements snippet in the builder.