Uploading Sketches to Arduino Due

Hello,
I have a code I am trying to upload to an Arduino Due with the Arduino IDE. I don’t see the Due listed on the board list, does anyone know how codes are supposed to be uploaded to Due boards?
Thanks!

UPDATE: I went to Board Manager and found where I could install a package to include the Arduino Due. Now I have it as an option.

When I try to upload the code I now get an error message, “‘Keyboard’ only supported on the Arduino Leonardo.”

I am using the Keyboard.begin(); functions in my code to send keypresses to the computer. I was under the impression this works with both the Leonardo and Due. Any advice here?

Screen Shot 2017-01-29 at 4.22.39 PM.png

Can you post the script? I added
#include <Keyboard.h>
and
Keyboard.begin();
to one of my projects and it uploaded fine.