To embed your badge, you’ll first need to make sure you have accepted the badge and made it public.
Next, select the embed code option.
This will open a window with your code. Simply select "Copy"
If that wasn’t your question and what you really wanted was only the badge image for publication, use the next button to the right of the embed. That allows you to download only the image.