1) Click in the “share” sign in front of the file or folder
2) A new area will appear on the right and you should click on +
3) After that choose the options or just click once again on the symbol in circle
4) And the link is in our clipboard and you may just insert it (Ctrl+V) where you need