How do I use this for a material?

You should be able to paste in the material editor by using Ctrl + V.