Getting a loan

Hello everyone! I have a question about obtaining a loan in Spain...

...I have just moved to Barcelona and would ideally like to buy a motorcycle to get around. as I've only been here two weeks and haven't built up a credit history in Spain I'm unsure as to whether a loan is possible? I have my NIE, SS and a bank account but does anyone know the criteria the banks use to decide who to give loans to?

Any help will be much appreciated :D

why don't you get a loan in UK, where you have credit? Unsecured loan, if necessary or a motorcycle loan and buy it in UK?
But you might try Spanish banks, you might get lucky, but be prepared for  a high down payment.