How can I use an image as background?

There's a basic method ( Modify the Background Color or Background Image of your Document ) and a programmatic method you can use: Setting a background image for my project - #2 by MarkHunte

But you could also just drag an image into your scene and move it to the back of your element order to have it be your background.