# New component xano

**URL:** https://community.thunkable.com/t/new-component-xano/1657547
**Category:** Questions about Thunkable X
**Created:** [December 20, 2021, 5:39am UTC](https://community.thunkable.com/t/new-component-xano/1657547 "2021-12-20T05:39:12Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![franfranfran](https://avatars.discourse-cdn.com/v4/letter/f/f17d59/32.png) [@franfranfran](https://community.thunkable.com/u/franfranfran)
#### Post date: [December 20, 2021, 5:39am UTC](https://community.thunkable.com/t/new-component-xano/1657547/1 "2021-12-20T05:39:12Z")

</div>

Hello, I have noticed that in the thunkable web page in the integrations section, in addition to adding WEBFLOW (Recently added) they have also added XANO, does anyone know when it will be available?

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 20, 2021, 8:02am UTC](https://community.thunkable.com/t/new-component-xano/1657547/2 "2021-12-20T08:02:59Z")

</div>

I previously made a Xano demo using API connection. See this  
[https://x.thunkable.com/projectPage/617031d98d7dfb0010f597c7](https://x.thunkable.com/projectPage/617031d98d7dfb0010f597c7)

---

<div class="post-metadata">

### Author: ![franfranfran](https://avatars.discourse-cdn.com/v4/letter/f/f17d59/32.png) [@franfranfran](https://community.thunkable.com/u/franfranfran)
#### Post date: [December 21, 2021, 9:13am UTC](https://community.thunkable.com/t/new-component-xano/1657547/4 "2021-12-21T09:13:10Z")

</div>

I have been reading the xano documentation and I have managed to register users and log in, when starting it returns the user’s token to be able to obtain the data from it, but I can’t get it, I guess I’m making the call wrong, could you help me?

 ![imagen autentication 1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/f/9f47991aa1c68194a7afcad5a582b5e8d38ccdba.png)  
 ![imagen autentication 2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/3/e382498250fe46646b83cf00016e4fbc4b7db636.png)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 21, 2021, 10:10am UTC](https://community.thunkable.com/t/new-component-xano/1657547/5 "2021-12-21T10:10:12Z")

</div>

I need more information to be able to give any kind of advice.

Can you share your project here or send me the link as a PM?

---

<div class="post-metadata">

### Author: ![franfranfran](https://avatars.discourse-cdn.com/v4/letter/f/f17d59/32.png) [@franfranfran](https://community.thunkable.com/u/franfranfran)
#### Post date: [December 21, 2021, 10:20am UTC](https://community.thunkable.com/t/new-component-xano/1657547/6 "2021-12-21T10:20:10Z")

</div>

I am sending you the link of the project that I am using to experiment, sorry for my ignorance I am a newbie.[Thunkable](https://x.thunkable.com/copy/2f715e66f898621b36ea99a4a540b103)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 21, 2021, 10:38am UTC](https://community.thunkable.com/t/new-component-xano/1657547/7 "2021-12-21T10:38:33Z")

</div>

I just used your blocks to `sign up` and it was successful and I get this `Token`  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/4/e46eeb4c3553a02931741baa95b1a8cc674518cb.png)

However, your code for `Login` will fail because you are not using the correct `Token` property name.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/4/8424a232ff848f85612e0d684ae0150a01acb7b3.png)  
Your code above has **three** problems.

1. You are not using the `response` block to get the result of your API call.
2. The response is in a form of JSON and you need to convert it to **object**.
3. The authentication token property name is `authToken` but you are referring to is as `Auth Token` which will make it fail.

---

<div class="post-metadata">

### Author: ![franfranfran](https://avatars.discourse-cdn.com/v4/letter/f/f17d59/32.png) [@franfranfran](https://community.thunkable.com/u/franfranfran)
#### Post date: [December 21, 2021, 11:15am UTC](https://community.thunkable.com/t/new-component-xano/1657547/8 "2021-12-21T11:15:12Z")

</div>

I have corrected what you have told me but it is still not solved, I understand that status 200 is successful, but I cannot obtain the user data, in theory I should make a GET request with the Token to obtain user data and that is where it is the mistake.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 21, 2021, 2:39pm UTC](https://community.thunkable.com/t/new-component-xano/1657547/9 "2021-12-21T14:39:44Z")

</div>

Will look at it later and send you a working project. I’m responding now from my mobile so can’t do any changes in the project.

---

<div class="post-metadata">

### Author: ![franfranfran](https://avatars.discourse-cdn.com/v4/letter/f/f17d59/32.png) [@franfranfran](https://community.thunkable.com/u/franfranfran)
#### Post date: [December 21, 2021, 2:57pm UTC](https://community.thunkable.com/t/new-component-xano/1657547/10 "2021-12-21T14:57:18Z")

</div>

Okey. Thanks!

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 21, 2021, 9:30pm UTC](https://community.thunkable.com/t/new-component-xano/1657547/11 "2021-12-21T21:30:12Z")

</div>

See my login attempt

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/7/b73465b6f8585a8a35202d5c5d4775cd2d805a26.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/f/af8b3fd61c631ce984f018dddb593d4efa13fe60.png)

See the modified project  
[https://x.thunkable.com/projectPage/61c1ab11d863500011303cb1](https://x.thunkable.com/projectPage/61c1ab11d863500011303cb1)

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [December 21, 2021, 9:50pm UTC](https://community.thunkable.com/t/new-component-xano/1657547/12 "2021-12-21T21:50:58Z")

</div>

Spot on, as always, Muneer!

Here is a shot of the blocks! Be sure to ask questions! 😊 using access tokens and refresh tokens can be confusing at first

 ![Screen Shot 2021-12-21 at 4.46.49 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/1/6151765219085b04158ae735f4732b350cfb37ab.png)

---

<div class="post-metadata">

### Author: ![franfranfran](https://avatars.discourse-cdn.com/v4/letter/f/f17d59/32.png) [@franfranfran](https://community.thunkable.com/u/franfranfran)
#### Post date: [December 22, 2021, 1:25am UTC](https://community.thunkable.com/t/new-component-xano/1657547/13 "2021-12-22T01:25:15Z")

</div>

Thank you very much, the truth is that words of gratitude are not enough, it has been the solution! forever  
helping the community, Thunk!

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 22, 2021, 7:50am UTC](https://community.thunkable.com/t/new-component-xano/1657547/14 "2021-12-22T07:50:47Z")

</div>

You are welcome @franfranfran .

Thanks @jared for your nice words and the explanation.

---

<div class="post-metadata">

### Author: ![franfranfran](https://avatars.discourse-cdn.com/v4/letter/f/f17d59/32.png) [@franfranfran](https://community.thunkable.com/u/franfranfran)
#### Post date: [December 23, 2021, 10:04am UTC](https://community.thunkable.com/t/new-component-xano/1657547/15 "2021-12-23T10:04:47Z")

</div>

Hello, I wanted to know if you could help me again, my native language is Spanish, and sometimes interpreting the documentation is difficult for me, besides that I am learning, I am experimenting with xano, to use it for a project, I am not managing to obtain the data through of the id, I attach screenshots and project link. I hope you can help me, I would be very grateful again.

 ![interface_1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/4/e4d579fbfdd2d26e9e14ffed5c522e196f0a6905.png)  
 ![interface_2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/0/50d48bb60d254b690935fe9cc7a3902213b2b741.png)  
 ![interface_3](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/9/297b158950db3221ce05d478750896390dc52b1a.png)  
 ![interface_4](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/1/818688cd0046b1a9cc3e3149718305c18cbc8e7b.png)  
 ![Interface_5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/2/22bcf6328cf6ae10af3a1ef7a95deda158b41f1a.png)

[https://x.thunkable.com/copy/9b936d83602012d6e8319bd3d595a98e](https://x.thunkable.com/copy/9b936d83602012d6e8319bd3d595a98e)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 23, 2021, 11:02am UTC](https://community.thunkable.com/t/new-component-xano/1657547/16 "2021-12-23T11:02:16Z")

</div>

Hello again my friend.

The `user_id` for Xano is a number not a name. When you login you will get the `user_id`.

In my example above, my login information shows that my `user_id` is **3**  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/1/819f62ad6390ae1601d2e70e5a052e075c7dc5af.png)

So you need a variable to save this ID to use it later.

Hope this makes it clear.

---

<div class="post-metadata">

### Author: ![franfranfran](https://avatars.discourse-cdn.com/v4/letter/f/f17d59/32.png) [@franfranfran](https://community.thunkable.com/u/franfranfran)
#### Post date: [December 23, 2021, 11:19am UTC](https://community.thunkable.com/t/new-component-xano/1657547/17 "2021-12-23T11:19:59Z")

</div>

I have tried using numbers from the blocks before, and it kept throwing the same error, that’s why I shared the captures, because the error seems to come from the blocks, try again just in case and I’ll tell you what happened.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 23, 2021, 12:34pm UTC](https://community.thunkable.com/t/new-component-xano/1657547/18 "2021-12-23T12:34:46Z")

</div>

See this  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/a/fa7fc7112d1cc4ccb70f010d896e6b1680bd1674.png)

The URL of the API should be:

```auto
https://x8ki-letl-twmt.n7.xano.io/api:OEogPuHo/user/

```

I just checked the API again and the following is the best way to use it.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/c/0c30ee2823538aa70432e02a2893ec8a1780209d.png)

This API does not use `QueryParameters` but adds the `user_id` to the URL directly

---

<div class="post-metadata">

### Author: ![franfranfran](https://avatars.discourse-cdn.com/v4/letter/f/f17d59/32.png) [@franfranfran](https://community.thunkable.com/u/franfranfran)
#### Post date: [December 23, 2021, 11:13pm UTC](https://community.thunkable.com/t/new-component-xano/1657547/19 "2021-12-23T23:13:24Z")

</div>

Hello again, that url belongs to the endpoint to obtain all users, as there was only 1 user created (user1) it is because you got that answer, if you see now that it creates a second user, you get both, so that is not the solution…

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 24, 2021, 9:49am UTC](https://community.thunkable.com/t/new-component-xano/1657547/20 "2021-12-24T09:49:14Z")

</div>

I’m sure my explanation is correct and provides the solution you are looking for.

See your modified project  
[https://x.thunkable.com/projectPage/61c46bbc7b7b9d0010f6adb2](https://x.thunkable.com/projectPage/61c46bbc7b7b9d0010f6adb2)

---

<div class="post-metadata">

### Author: ![franfranfran](https://avatars.discourse-cdn.com/v4/letter/f/f17d59/32.png) [@franfranfran](https://community.thunkable.com/u/franfranfran)
#### Post date: [December 24, 2021, 10:05am UTC](https://community.thunkable.com/t/new-component-xano/1657547/21 "2021-12-24T10:05:56Z")

</div>

Sorry, you’re right, thank you very much !!!  
Merry Christmas!!!

[Next page](https://community.thunkable.com/t/new-component-xano/1657547.md?page=2)
